niDCPower Query Output State VI
- Updated2025-10-06
- 3 minute(s) read
Queries the specified channel to determine if the channel is currently in the state specified by output state.

Inputs/Outputs
instrument handle
—
instrument handle identifies a particular instrument session.
channel name
—
channel name specifies the channel to query. The output state can be queried for only one channel at a time. Specify the channel using the form PXI1Slot3/0, where PXI1Slot3 is the instrument resource name and 0 is the channel.
output state
—
output state specifies the output state of the channel that is being queried. The default value is Constant Voltage (0).
error in (no error)
—
error in describes error conditions that occur before this node runs. This input provides standard error in functionality.
instrument handle out
—
instrument handle out passes the handle used to identify the session in all subsequent NI-DCPower VI calls.
in state?
—
in state? returns whether the specified channel is in the specified output state.
error out
—
error out contains error information. This output provides standard error out functionality. |
instrument handle
—
channel name
—
output state
—
error in (no error)
—
instrument handle out
—
in state?
—
error out
—