www.vtiinstruments.com
EX1629 Command Set 121
vtex1629_error_message
FUNCTION PROTOTYPE
ViStatus vtex1629_error_message (ViSession vi, ViStatus statusCode, ViChar _VI_FAR errMessage[]);
FUNCTION PARAMETERS
vi = contains a session handle to the instrument. This handle is obtained by the function and remains valid until the
session is closed.
statusCode= an input status code corresponding to the error for which the error message is desired.
errMessage = a return string that contains the error message. This string should be at least 256 characters long.
DATA ITEM RESET VALUE
Not applicable to this function.
DESCRIPTION
This function returns the error message text associated with the statusCode parameter.
EXAMPLE
ViSession instrumentHandle;
ViStatus status, code;
ViChar errorMessage[256];
…
status = vtex1629_error_message (instrumentHandle, code, errorMessage);