Lock()
- Updated2025-10-14
- 1 minute(s) read
Attempts to acquire a synchronization lock on this instance of the driver.
Syntax
Namespace: NationalInstruments.ModularInstruments.NIRfsa
public RfsaDriverLock Lock()
Returns
Returns a RfsaDriverLock as a reference to the acquired lock.
Exceptions
| Type | Description |
|---|---|
| System.ObjectDisposedException | The NationalInstruments.ModularInstruments.NIRfsa.RfsaDriverUtility.Lock method was accessed after the associated NIRfsa object was disposed. |