NIRfsa Class
- Updated2025-10-14
- 2 minute(s) read
Defines a root class that is used to identify and control the instrument session.
Derives from
- IDisposable
- IServiceProvider
- IIviDriver
- ITClockSynchronizableDevice
Syntax
Namespace: NationalInstruments.ModularInstruments.NIRfsa
public class NIRfsa : IDisposable, IServiceProvider, IIviDriver, ITClockSynchronizableDevice
Remarks
All properties, methods, and events fall under either the NIRfsaclass or are the sub-objects of this class. To interact with the NI-RFSA, you must create an instance of this class.
Constructors
| Name | Description |
|---|---|
| NIRfsa(string, bool, bool, string) | Creates a new instrument driver session and sets the initial state of session properties. |
| NIRfsa(IntPtr) | Creates a new instrument driver session from an existing instrument handle. |
| NIRfsa(string, bool, bool) | Creates a new instrument driver session. |
Properties
| Name | Description |
|---|---|
| Acquisition | Gets the Acquisition sub-object that allows acquisition of the I/Q and spectrum data. |
| Calibration | Gets the Calibration sub-object that allows calibration of the NI-RFSA. |
| Configuration | Gets the Configuration sub-object that allows configuration of the NI-RFSA. |
| DeviceCharacteristics | Gets the DeviceCharacteristics sub-object to get device characteristics such as MemorySize, ModuleRevision, and SerialNumber. An active channel can be passed using the indexer NationalInstruments.ModularInstruments.NIRfsa.RfsaDeviceCharacteristics.this[string]. |
| DriverIdentity | Gets the DriverIdentity sub-object that provides identity and version information about the NI-RFSA. |
| DriverOperation | Gets the NationalInstruments.ModularInstruments.NIRfsa.NIRfsa.DriverOperation sub-object that affects the operation of the NI-RFSA instrument driver. |
| DriverUtility | Gets the NationalInstruments.ModularInstruments.NIRfsa.NIRfsa.Utility sub-object to access the utility features of NI-RFSA. |
| Identity | Gets the NationalInstruments.ModularInstruments.NIRfsa.NIRfsa.Identity sub-object that provides identity and version information about the NI-RFSA. |
| IsDisposed | Gets a value that indicates whether the session has been disposed. |
| Utility | Gets the NationalInstruments.ModularInstruments.NIRfsa.NIRfsa.Utility sub-object to access the utility features of NI-RFSA. |
Methods
| Name | Description |
|---|---|
| Close() | Closes the session to the device. |
| Dispose() | Closes the specified session and deallocates the reserved resources, if not already disposed. |
| GetInstrumentHandle() | Gets the System.Runtime.InteropServices.SafeHandle to the NIRfsa instrument session. |
| GetService(Type) | Defines a mechanism for retrieving a service object; that is, an object that provides custom support to other objects. It supports the type NationalInstruments.ModularInstruments.AdvancedPropertyAccessService, Ivi.Driver.IIviDriver and NIRfsa. |
| VstSelfCalibrate(string) | Self-calibrates the device. If self-calibration is performed successfully, the new calibration constants are stored in the nonvolatile memory of the device. NI recommends that no external signals are present on the RF In port while the calibration is taking place. Refer to the specification document for your device for more information on self-calibration. |