DCPowerDriverOperation.QueryInstrumentStatus Property
- Updated2024-01-04
- 1 minute(s) read

DCPowerDriverOperationQueryInstrumentStatus Property
Gets or sets whether NI-DCPower queries the instrument status after each operation.
NI-DCPower can choose to ignore status checking for particular properties, regardless of the setting of this property.
Namespace: NationalInstruments.ModularInstruments.NIDCPower
Assembly: NationalInstruments.ModularInstruments.NIDCPower.Fx45 (in NationalInstruments.ModularInstruments.NIDCPower.Fx45.dll) Version: 2023
Syntax
public bool QueryInstrumentStatus { get; set; }
Public Property QueryInstrumentStatus As Boolean Get Set
Property Value
Type: Booleanif querying is enabled; otherwise, .
Exceptions
Exception | Condition |
---|---|
ObjectDisposedException | The QueryInstrumentStatus property was accessed after the associated NIDCPower object was disposed. |
Remarks
NI-DCPower can choose to ignore status checking for particular properties, regardless of the setting of this property.
Querying the instrument status is useful for debugging. After you validate your program, you can set this property to to disable status checking and maximize performance.