ViStatus pi40iv_UnlockSession (ViSession instrumentHandle, ViPBoolean callerHasLock);
This function releases a lock that you acquired on an instrument session using pi40iv_LockSession. Refer to pi40iv_LockSession for additional information on session locks.
Input | ||
Name | Type | Description |
instrumentHandle | ViSession |
The ViSession handle that you obtain from the pi40iv_init or pi40iv_InitWithOptions function. The handle identifies a particular instrument session.
|
Output | ||
Name | Type | Description |
callerHasLock | ViBoolean (passed by reference) |
This parameter serves as a convenience. If you do not want to use this parameter, pass VI_NULL.
|
Name | Type | Description |
status | ViStatus |
Returns the status code of this operation. The status code either indicates success or describes an error or warning condition. You examine the status code from each call to an instrument driver function to determine if an error occurred.
|
Locking
Utility
Pickering Interfaces PXI/LXI IVI Switch
Alphabetical Function Index
Hierarchical Function Index