RfpmSwitchDriverOperation.QueryInstrumentStatus Property
- Updated2023-12-28
- 1 minute(s) read
RfpmSwitchDriverOperationQueryInstrumentStatus Property
Gets or sets a value indicating whether the NI-RFPM Switch driver queries the switch device status after each operation.
Namespace: NationalInstruments.ModularInstruments.NIRfpmSwitch
Assembly: NationalInstruments.ModularInstruments.NIRfpmSwitch.Fx40 (in NationalInstruments.ModularInstruments.NIRfpmSwitch.Fx40.dll) Version: 2023
Syntax
public bool QueryInstrumentStatus { get; set; }
Public Property QueryInstrumentStatus As Boolean Get Set
Property Value
Type: Booleanif querying is enabled; otherwise, .
Implements
IIviDriverOperationQueryInstrumentStatusExceptions
Exception | Condition |
---|---|
ObjectDisposedException | QueryInstrumentStatus was accessed after the associated NIRfpmSwitch or RfpmSwitchDriverUtility object was disposed. |
IviCDriverException | The underlying NI-RFPM Switch driver returned an error. |
Remarks
Querying the device status is useful for debugging. After you validate your program, you can set this property to to disable status
checking and maximize performance.
The NI-RFPM Switch driver can choose to ignore status checking for particular properties, regardless of the setting of this property.