niDCPower Measure

NI DCPower LabView

JavaScript is disabled. Details


niDCPower Measure

Returns the measured value of either the voltage or current on the specified output channel. Each call to this VI blocks other VI calls until the hardware returns the measurement. The measurement speed of the power supply and the Samples to Average property dictate the length of time that a measurement takes. To measure multiple output channels, use the niDCPower Measure Multiple VI.

niDCPower_Measure.gif
cio.gif instrument handle identifies a particular instrument session. instrument handle is obtained from the niDCPower Initialize or the niDCPower Initialize With Options VI.
cstr.gif channel name specifies the output channel to measure. Only one measurement at a time may be made with the niDCPower Measure VI. Use to niDCPower Measure Multiple VI to measure multiple channels or measurement types.
ci32.gif measurement type specifies whether a voltage or current value should be measured.

Voltage The power supply measures voltage.
Current The power supply measures current.

Default Value: Voltage

ccclst.gif error in (no error) describes error conditions that occur before this VI runs.
cbool.gif status is TRUE (X) if an error occurred before this VI ran or FALSE (checkmark) to indicate a warning or that no error occurred before this VI ran. The default is FALSE.
ci32.gif code is the error or warning code. The default is 0. If status is TRUE, code is a negative error code. If status is FALSE, code is 0 or a warning code.
cstr.gif source describes the origin of the error or warning and is, in most cases, the name of the VI that produced the error or warning. The default is an empty string.
iio.gif instrument handle out passes the handle used to identify the session in all subsequent NI-DCPower VI calls.
idbl.gif measurement returns the value of the measurement, either in volts for voltage or amps for current.
icclst.gif error out contains error information. If error in indicates that an error occurred before this VI ran, error out contains the same error information. Otherwise, it describes the error status that this VI produces.
ibool.gif status is TRUE (X) if an error occurred or FALSE (checkmark) to indicate a warning or that no error occurred.
ii32.gif code the error or warning code. If status is TRUE, code is a non-zero error code. If status is FALSE, code is 0 or a warning code.
istr.gif source describes the origin of the error or warning and is, in most cases, the name of the VI that produced the error or warning.