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.

Syntax

Namespace: NationalInstruments.ModularInstruments.NIDCPower

public bool QueryInstrumentStatus { get; set; }

Remarks

true if querying is enabled; otherwise, false.

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 false to disable status checking and maximize performance.


  

Exceptions

TypeDescription
System.ObjectDisposedException

The QueryInstrumentStatus property was accessed after the associated NIDCPower object was disposed.