NI-SCOPE .NET Class Library Help

ScopeDriverUtility.Lock Method (PrecisionTimeSpan)

  • Updated2023-09-06
  • 1 minute(s) read
ScopeDriverUtility.Lock Method (PrecisionTimeSpan)

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: ScopeDriverLock
A reference to the acquired lock.

See Also

Log in to get a better experience