DCPowerDriverUtility.Lock Method
- Updated2024-01-04
- 1 minute(s) read

DCPowerDriverUtilityLock Method
Attempts to acquire a synchronization lock on this instance of the driver.
Namespace: NationalInstruments.ModularInstruments.NIDCPower
Assembly: NationalInstruments.ModularInstruments.NIDCPower.Fx45 (in NationalInstruments.ModularInstruments.NIDCPower.Fx45.dll) Version: 2023
Syntax
public DCPowerDriverLock Lock()
Public Function Lock As DCPowerDriverLock
Return Value
Type: DCPowerDriverLockReturns a IIviDriverLock as a reference to the acquired lock.
Exceptions
Exception | Condition |
---|---|
ObjectDisposedException | The Lock method was called after the associated NIDCPower object was disposed. |