pipx40_error_message

ViStatus pipx40_error_message (ViSession instrumentHandle, ViStatus statusCode, ViChar _VI_FAR message[]);

Purpose

Translates the numeric status code returned by other driver functions into a text description of the error.

Parameters

Input
Name Type Description
instrumentHandle ViSession

Instrument handle obtained by the pipx40_init call used to open the card.

statusCode ViStatus

A status value returned by another pipx40 driver function.

Output
Name Type Description
message ViChar[]

Character string to receive a description of the error condition represented by the supplied status code.

Return Value

Name Type Description
status ViStatus

A numeric code indicating the success or failure of the operation.
VI_SUCCESS = Successful operation.
Negative values are error codes and positive values are warnings.
To get a description of an error, pass the error code to pipx40_error_message.

References

Utility
Pickering Interfaces PXI VISA
Alphabetical Function Index
Hierarchical Function Index