SwitchDriverLock Class
- Updated2026-01-20
- 1 minute(s) read
Defines synchronization locks obtained on the NI-SWITCH session.
Derives from
- IDisposable
Syntax
Namespace: NationalInstruments.ModularInstruments.NISwitch
public class SwitchDriverLock : IDisposable
Remarks
For more information, refer to NI Switches Help.
Thread Safety
All members of this type are safe for multithreaded operations.
Constructors
| Name | Description |
|---|---|
| SwitchDriverLock(IIviDriverLock) | Constructs an NI-SWITCH driver lock. |
Methods
| Name | Description |
|---|---|
| Unlock() | Releases a driver synchronization lock. |