8-30 Agilent E5250A User’s Guide, Edition 9
VXIplug&play Driver
Driver Functions
hpe5250a_self_test
This function causes the instrument to perform a self-test and returns the result of
that self-test. This is used to verify that an instrument is operating properly. A failure
may indicate a potential hardware problem.
Syntax ViStatus _VI_FUNC hpe5250a_self_test(ViSession vi, ViPInt16 test_result,
ViChar_VI_FAR test_message[ ] );
Parameters vi Instrument handle returned from hpe5250a_init( ).
test_result Numeric result from self-test operation. 0: No error.
test_message[ ] Self-test status message. This is limited to 256 characters.
hpe5250a_testClear
This function clears the test result for the specified relay card or the front panel or
the controller.
Syntax ViStatus _VI_FUNC hpe5250a_testClear(ViSession vi, ViInt16 framecard_clear);
Parameters vi Instrument handle returned from hpe5250a_init( ).
framecard_clear Test result to be cleared. 0, 1, 2, 3, 4, 5, 6, or 7. See below.
0 (test result of all test)
1 (card 1 relay test result)
2 (card 2 relay test result)
3 (card 3 relay test resul t )
4 (card 4 relay test result)
5 (relay test result of all card)
6 (front panel test result)
7 (controller test result)