beautypg.com

Cilxs_error_message – AMETEK Ls Series Driver Manual User Manual

Page 139

background image

IVI Driver Manual

Lx / Ls Series

135

ciLxs_error_message


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

Purpose

This function converts a status code returned by an instrument driver
function into a user-readable string.

Parameter List

instrumentHandle

Variable Type ViSession

The ViSession handle that you obtain from the ciLxs_init or
ciLxs_InitWithOptions function. The handle identifies a particular
instrument session.

You can pass VI_NULL for this parameter. This is useful when one of
the initialize functions fail.

Default Value: VI_NULL


errorCode

Variable Type ViStatus

Pass the Status parameter that is returned from any of the instrument
driver functions.

Default Value: 0 (VI_SUCCESS)

IviDCPwr Status Codes:
Status Description
-------------------------------------------------
ERRORS:
BFFA1001 The trigger source is not software trigger.

IVI Engine Status Codes:
Status Description
-------------------------------------------------
ERRORS:
BFFA0001 Instrument error. Call ciLxs_error_query.
BFFA0002 Cannot open file.
BFFA0003 Error reading from file.
BFFA0004 Error writing to file.
BFFA0005 Driver module file not found.
BFFA0006 Cannot open driver module file for reading.
BFFA0007 Driver module has invalid file format or invalid data.
BFFA0008 Driver module contains undefined references.
BFFA0009 Cannot find function in driver module.
BFFA000A Failure loading driver module.
BFFA000B Invalid path name.

This manual is related to the following products: