niDCPower Query Output State VI

NI DC Power Supplies and SMUs Help (NI-DCPower)

Edition Date: January 2018

Part Number: 370736U-01

View Product Info

DOWNLOAD (Windows Only)


NI-DCPower (English | Japanese)
Installed With: NI-DCPower

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

Related topics:

Compliance

niDCPower Query Output State

/images/reference/en-XX/help/370736U-01/cio.gif

instrument handle identifies a particular instrument session. instrument handle is obtained from the niDCPower Initialize With Channels VI.

/images/reference/en-XX/help/370736U-01/cstr.gif

channel name specifies the output channel to query. The output state can be queried for only one channel at a time.

/images/reference/en-XX/help/370736U-01/cu16.gif

output state specifies the output state of the output channel that is being queried.

The default value is Constant Voltage (0).

Constant Voltage (0)

The channel is maintaining a constant voltage at its output.

Constant Current (1)

The channel is maintaining a constant current at its output.

/images/reference/en-XX/help/370736U-01/cerrcodeclst.gif

error in (no error) describes error conditions that occur before this node runs. This input provides standard error in functionality.

/images/reference/en-XX/help/370736U-01/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.

/images/reference/en-XX/help/370736U-01/ci32.gif

code is the error or warning code. The default is 0. If status is TRUE, code is a non-zero error code. If status is FALSE, code is 0 or a warning code.

/images/reference/en-XX/help/370736U-01/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.

/images/reference/en-XX/help/370736U-01/iio.gif

instrument handle out passes the handle used to identify the session in all subsequent NI-DCPower VI calls.

/images/reference/en-XX/help/370736U-01/ibool.gif

in state? returns whether the power supply output channel is in the specified output state.

/images/reference/en-XX/help/370736U-01/ierrcodeclst.gif

error out contains error information. This output provides standard error out functionality.

/images/reference/en-XX/help/370736U-01/ibool.gif

status is TRUE (X) if an error occurred or FALSE (checkmark) to indicate a warning or that no error occurred.

/images/reference/en-XX/help/370736U-01/ii32.gif

code is 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.

/images/reference/en-XX/help/370736U-01/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.

WAS THIS ARTICLE HELPFUL?

Not Helpful