DCPowerMeasurement.QueryInCompliance Method
- Updated2024-01-04
- 2 minute(s) read

DCPowerMeasurementQueryInCompliance Method
Queries the specified output channel to determine if it is operating at the compliance limit.
Namespace: NationalInstruments.ModularInstruments.NIDCPower
Assembly: NationalInstruments.ModularInstruments.NIDCPower.Fx40 (in NationalInstruments.ModularInstruments.NIDCPower.Fx40.dll) Version: 2023
Syntax
public bool QueryInCompliance( string channelString )
Public Function QueryInCompliance ( channelString As String ) As Boolean
Parameters
- channelString
- Type: SystemString
Specifies the output 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.
Return Value
Type: BooleanReturns whether the specified output channel is in compliance.
Remarks
- The compliance limit is the current limit when the output method is set to DCVoltage. If the output is operating at the compliance limit, the output reaches the current limit before the desired voltage level.
- The compliance limit is the voltage limit when the output method is set to DCCurrent. If the output is operating at the compliance limit, the output reaches the voltage limit before the desired current level.
![]() |
---|
NI-DCPower uses the terms "source" and "output". However, while sinking with electronic loads and SMUs these correspond to "sinking" and "input", respectively. |