Queries the specified channel to determine if it is operating at the compliance limit.

Syntax

Namespace: NationalInstruments.ModularInstruments.NIDCPower

public bool QueryInCompliance(string channelString)

Remarks

  • The compliance limit is the current limit when the Function property is set to DCVoltage, PulseVoltage, ConstantResistance or ConstantPower. 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 Function property is set to DCCurrent or PulseCurrent. If the output is operating at the compliance limit, the output reaches the voltage limit before the desired current level.  

Refer to the Function property for more information about the applicable properties to configure for each output function.

Note

NI-DCPower uses the terms "source" and "output". However, while sinking with electronic loads and SMUs these correspond to "sinking" and "input", respectively.

Parameters

NameTypeDescription
channelStringstring

Specifies the channel to query. The compliance status can only be queried for 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.

Returns

Returns whether the specified channel is in compliance.