Agilent 4155B/4156B VXIplug&play Driver User’s Guide, Edition 4
2-65
Driver Functions
hpe5250a_error_message
hpe5250a_error_message
This function translates the error return value from an instrument driver function to
a readable string.
Syntax
ViStatus _VI_FUNC hpe5250a_error_message(ViSession vi, ViStatus
error_number, ViChar _VI_FAR message[ ] );
Parameters
vi
Instrument handle returned from hpe5250a_init( ).
error_number
Error return value from the driver function.
message[ ]
Error message string. This is limited to 256 characters.
hpe5250a_error_query
This function returns the error numbers and corresponding error messages in the
error queue of a instrument. See Agilent E5250A
User’s Guide
for a listing of the
instrument error numbers and messages.
Instrument errors may occur when you places the instrument in a bad state such as
sending an invalid sequence of coupled commands. Instrument errors can be
detected by polling. Automatic polling can be accomplished by using the
hpe5250a_errorQueryDetect function.
Syntax
ViStatus _VI_FUNC hpe5250a_error_query(ViSession vi, ViPInt32 error_number,
ViChar _VI_FAR error_message[ ] );
Parameters
vi
Instrument handle returned from hpe5250a_init( ).
error_number Instrument’s error code.
error_message[ ]
Instrument’s error message. This is limited to 256 characters.
Содержание 4155B
Страница 6: ...6 Agilent 4155B 4156B VXIplug play Driver User s Guide Edition 4...
Страница 13: ...Agilent 4155B 4156B VXIplug play Driver User s Guide Edition 4 1 Installation...
Страница 20: ...1 8 Agilent 4155B 4156B VXIplug play Driver User s Guide Edition 4 Installation Installing 4155B 4156B Driver...
Страница 21: ...Agilent 4155B 4156B VXIplug play Driver User s Guide Edition 4 2 Driver Functions...
Страница 95: ...Agilent 4155B 4156B VXIplug play Driver User s Guide Edition 4 3 Programming Examples Using HP VEE...
Страница 141: ...Agilent 4155B 4156B VXIplug play Driver User s Guide Edition 4 4 Sample Application Programs for HP VEE...