Defines synchronization locks obtained on the NI-SWITCH session.

Derives from

  • IDisposable

Syntax

Namespace: NationalInstruments.ModularInstruments.NISwitch

public class SwitchDriverLock : IDisposable

Remarks

For more information, refer to NI Switches Help.

Thread Safety

All members of this type are safe for multithreaded operations.

Constructors

NameDescription
SwitchDriverLock(IIviDriverLock)

Constructs an NI-SWITCH driver lock.

Methods

NameDescription
Unlock()

Releases a driver synchronization lock.