RfsgDriverUtility.Lock Method
- Updated2025-05-22
- 1 minute(s) read
Rfsg
Obtains a multithread lock on the instrument session.
Namespace: NationalInstruments.ModularInstruments.NIRfsg
Assembly: NationalInstruments.ModularInstruments.NIRfsg.Fx45 (in NationalInstruments.ModularInstruments.NIRfsg.Fx45.dll) Version: 2025
Syntax
public RfsgDriverLock Lock()
Public Function Lock As RfsgDriverLock
Return Value
RfsgDriverLockReturns an object of type RfsgDriverLock.
Exceptions
Exception | Condition |
---|---|
ObjectDisposedException | The Lock method was accessed after the associated NIRfsg object was disposed. |
Remarks
Before obtaining multithread lock, this method waits until all other execution threads have released their locks on the instrument session.