NI-DCPower .NET fx45 API Reference

Table of Contents

DCPowerDriverUtility.Lock Method

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

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: DCPowerDriverLock
Returns a IIviDriverLock as a reference to the acquired lock.

Exceptions

ExceptionCondition
ObjectDisposedException The Lock method was called after the associated NIDCPower object was disposed.

See Also

Log in to get a better experience