niDCPower Query In Compliance VI
- Updated2025-10-06
- 3 minute(s) read
Queries the specified channel to determine if it is operating at the compliance limit.
The compliance limit is the current limit when the Output Function property is set to DC Voltage, Pulse Voltage, Constant Resistance or Constant Power. If the output is operating at the compliance limit, the output reaches the current limit before the desired voltage, resistance or power level.
The compliance limit is the voltage limit when the Output Function property is set to DC Current or Pulse Current. If the output is operating at the compliance limit, the output reaches the voltage limit before the desired current level.
Refer to the Output Function property for more information about the applicable properties to configure for each output function.

Inputs/Outputs
instrument handle
—
instrument handle identifies a particular instrument session.
channel name
—
channel name specifies the channel to query. The compliance status 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.
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 compliance?
—
in compliance? returns whether the specified channel is in compliance.
error out
—
error out contains error information. This output provides standard error out functionality. |
instrument handle
—
channel name
—
error in (no error)
—
instrument handle out
—
in compliance?
—
error out
—