NI-RFPM API Reference

Table of Contents

RfpmSwitchDriverOperation.QueryInstrumentStatus Property

  • Updated2023-12-28
  • 1 minute(s) read
RfpmSwitchDriverOperation.QueryInstrumentStatus Property

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: Boolean
if querying is enabled; otherwise, .

Implements

IIviDriverOperationQueryInstrumentStatus

Exceptions

ExceptionCondition
ObjectDisposedExceptionQueryInstrumentStatus 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.

See Also

Log in to get a better experience