niDCPower Query Output State

NI DCPower LabView

JavaScript is disabled. Details


niDCPower Query Output State

Queries the specified output channel to determine if the output channel is currently in the state specified by output state.

niDCPower_Query_Output_State.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 query. The output state may only be queried for one channel at a time.
cu16.gif output state specifies the output state of the output channel that is being queried.

Constant Voltage The channel is maintaining a constant voltage at its output.
Constant Current The channel is maintaining a constant current at its output.

Default Value: Constant 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.
ibool.gif in state? returns whether the power supply output channel is in the specified state.
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.