NIRfpm.RfpmSwitchSession Property
- Updated2023-12-28
- 1 minute(s) read
NIRfpmRfpmSwitchSession Property
Gets an NIRfpmSwitch session object representing the underlying NI-RFPM Switch session used by NI-RFPM.
This property does not support the mmWave subsystem.
This property does not support the mmWave subsystem.
Namespace: NationalInstruments.ModularInstruments.NIRfpm
Assembly: NationalInstruments.ModularInstruments.NIRfpm.Fx40 (in NationalInstruments.ModularInstruments.NIRfpm.Fx40.dll) Version: 2023
Syntax
public NIRfpmSwitch RfpmSwitchSession { get; }
Public ReadOnly Property RfpmSwitchSession As NIRfpmSwitch Get
Property Value
Type: NIRfpmSwitchAn NIRfpmSwitch session object used by NI-RFPM.
Exceptions
Exception | Condition |
---|---|
ObjectDisposedException | RfpmSwitchSession was accessed after the associated NIRfpm object was disposed. |
Remarks
If you construct an NIRfpm object using a constructor overload that takes an
NIRfpmSwitch session object as a parameter, this property will return a
reference to that object; otherwise, it will return a new NIRfpmSwitch session object
after querying the driver for the underlying session handle.