VI_ATTR_RSRC_LOCK_STATE

NI-VISA

VI_ATTR_RSRC_LOCK_STATE

Resource Classes

All I/O session types

Attribute Information

Access Privilege Data Type Range Default

Read Only
Global

ViAccessMode

VI_NO_LOCK (0)
VI_EXCLUSIVE_LOCK (1)
VI_SHARED_LOCK (2)

VI_NO_LOCK

Description

VI_ATTR_RSRC_LOCK_STATE indicates the current locking state of the resource. The resource can be unlocked, locked with an exclusive lock, or locked with a shared lock.


Related Topics

VISA Resource Template