ScopeDriverUtility.Lock Method (PrecisionTimeSpan)
- Updated2023-09-06
- 1 minute(s) read
ScopeDriverUtilityLock Method (PrecisionTimeSpan)
Attempts to acquire a synchronization lock on this instance of the driver and specifies the maximum amount of time to wait to acquire the lock.
Namespace: NationalInstruments.ModularInstruments.NIScope
Assembly: NationalInstruments.ModularInstruments.NIScope.Fx45 (in NationalInstruments.ModularInstruments.NIScope.Fx45.dll) Version: 2023
Syntax
public ScopeDriverLock Lock( PrecisionTimeSpan maxTime )
Public Function Lock ( maxTime As PrecisionTimeSpan ) As ScopeDriverLock
Parameters
- maxTime
- Type: NationalInstrumentsPrecisionTimeSpan
The maximum amount of time to wait to acquire the lock.
Return Value
Type: ScopeDriverLockA reference to the acquired lock.