NIRfsg Namespace

Table of Contents

RfsgDriverUtility.Lock Method

  • Updated2025-05-22
  • 1 minute(s) read
RfsgDriverUtility.Lock Method

RfsgDriverUtilityLock Method

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

RfsgDriverLock
Returns an object of type RfsgDriverLock.

Exceptions

ExceptionCondition
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.

See Also

Log in to get a better experience