ViStatus pi40iv_error_query (ViSession instrumentHandle, ViPInt32 errorCode, ViChar _VI_FAR errorMessage[]);
This function reads an error code and a message from the instrument's error queue.
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 |
errorCode | ViInt32 (passed by reference) |
Returns the error code read from the instrument's error queue. |
errorMessage | ViChar[] |
Returns the error message string read from the instrument's error message queue.
|
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.
|
Utility
Pickering Interfaces PXI/LXI IVI Switch
Alphabetical Function Index
Hierarchical Function Index