NIRfpmSwitch Class
- Updated2023-12-28
- 4 minute(s) read
NIRfpmSwitch Class
Defines a root class that is used to identify and control the instrument session.
Inheritance Hierarchy
Namespace: NationalInstruments.ModularInstruments.NIRfpmSwitch
Assembly: NationalInstruments.ModularInstruments.NIRfpmSwitch.Fx40 (in NationalInstruments.ModularInstruments.NIRfpmSwitch.Fx40.dll) Version: 2023
Syntax
public sealed class NIRfpmSwitch : IIviDriver, IServiceProvider, IDisposable
Public NotInheritable Class NIRfpmSwitch Implements IIviDriver, IServiceProvider, IDisposable
The NIRfpmSwitch type exposes the following members.
Constructors
Name | Description | |
---|---|---|
![]() | NIRfpmSwitch(IntPtr) |
Initializes a new instance of the NIRfpmSwitch class
from an existing instrument handle.
|
![]() | NIRfpmSwitch(String, Boolean, Boolean) |
Initializes a new instance of the NIRfpmSwitch class.
|
![]() | NIRfpmSwitch(String, Boolean, Boolean, String) |
Initializes a new instance of the NIRfpmSwitch class and
sets the initial state of session properties.
|
![]() | NIRfpmSwitch(String, Boolean, Boolean, LockType, String) |
Initializes a new instance of the NIRfpmSwitch class.
|
![]() | NIRfpmSwitch(String, Boolean, Boolean, LockType, String, String) |
Initializes a new instance of the NIRfpmSwitch class.
|
Properties
Name | Description | |
---|---|---|
![]() | Channels |
Gets a RfpmSwitchChannelCollection object which represents the channel collection and its properties.
|
![]() | DriverOperation |
Gets a RfpmSwitchDriverOperation object that defines methods and properties for
common operations on the NI-RFPM Switch driver.
|
![]() | Identity |
Gets a RfpmSwitchDriverIdentity object which defines the methods and properties for identifying the NI-RFPM Switch driver.
|
![]() | IsDisposed |
Gets a value indicating whether the session has been disposed.
|
![]() | Path |
Gets a RfpmSwitchPath object which is used to build a channel path in the NI-RFPM Switch driver.
|
![]() | Utility |
Gets a RfpmSwitchDriverUtility object to access the utility features on the NI-RFPM Switch driver.
|
Methods
Name | Description | |
---|---|---|
![]() | Close |
Closes the session to the device.
|
![]() | Dispose |
Closes the specified session and deallocates the reserved resources, if not already disposed.
|
![]() | Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) |
![]() | GetHashCode | Serves as the default hash function. (Inherited from Object.) |
![]() | GetInstrumentHandle |
Returns the pointer to the underlying instrument handle.
|
![]() | GetService |
Returns a service object on the basis of the type mentioned in the serviceType parameter.
|
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
Remarks
All properties, methods, and events fall under either NIRfpmSwitch or are the sub-objects of this class.
To interact with the NationalInstruments.ModularInstruments.NIRfpmSwitch .NET class library, you
must create an instance of this class.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.