SwitchDriverUtility Class
- Updated2026-01-20
- 1 minute(s) read
Defines the methods that provide a basic set of utility operations.
Derives from
- SwitchSubObject
- IIviDriverUtility
Syntax
Namespace: NationalInstruments.ModularInstruments.NISwitch
public class SwitchDriverUtility : SwitchSubObject, IIviDriverUtility
Remarks
For more information, refer to NI Switches Help.
Thread Safety
Any members of this type are not guaranteed to be thread safe.
Methods
| Name | Description |
|---|---|
| Disable() | Places the instrument in a quiescent state as quickly as possible. |
| ErrorQuery() | Reads an error code and a message from the instrument error queue. |
| Lock() | Acquires a synchronization lock on this instance of the NI-SWITCH driver. |
| Lock(Ivi.Driver.PrecisionTimeSpan) | Acquires a synchronization lock on this instance of the NI-SWITCH driver. |
| Reset() | Disconnects all created paths and returns the switch module to the initialization state. |
| ResetWithDefaults() | Resets the switch module and applies initial settings from the logical name which you used to initialize the session. If the session was created without a logical name, this method is equivalent to Reset. |
| RevisionQuery() | Returns the revision number of the NI-SWITCH driver. |
| SelfTest() | Verifies that NI-SWITCH device can communicate with the switch. |