Lock()
- Updated2025-10-06
- 1 minute(s) read
Attempts to acquire a synchronization lock on this instance of the driver.
Syntax
Namespace: NationalInstruments.ModularInstruments.NIDCPower
public DCPowerDriverLock Lock()
Returns
Returns a Ivi.Driver.IIviDriverLock as a reference to the acquired lock.
Exceptions
| Type | Description |
|---|---|
| System.ObjectDisposedException | The Lock() method was called after the associated NIDCPower object was disposed. |