NI-RFPM API Reference

Table of Contents

NIRfpm.RfpmSwitchSession Property

  • Updated2023-12-28
  • 1 minute(s) read
NIRfpm.RfpmSwitchSession Property

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.

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: NIRfpmSwitch
An NIRfpmSwitch session object used by NI-RFPM.

Exceptions

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

See Also

Log in to get a better experience