pipx40_error_query

ViStatus pipx40_error_query (ViSession instrumentHandle, ViPInt32 errorCode, ViChar _VI_FAR errorMessage[]);

Purpose

Cards do not support this function, and if executed it returns the warning code VI_WARN_NSUP_ERROR_QUERY.

Parameters

Input
Name Type Description
instrumentHandle ViSession

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

Output
Name Type Description
errorCode ViInt32 (passed by reference)

A numeric value indicating the nature of the reported error.

errorMessage ViChar[]

A text string describing the nature of the reported error.

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