User`s guide
Agilent E6432A Microwave Synthesizer User’s Guide 4-153
HPE6432_self_test
ViStatus HPE6432_self_test (ViSession instrumentHandle,
ViInt16 *selfTestResult16, ViChar selfTestMessage[]);
Purpose
This function calls the HPE6432_SelfTest function and runs the quick
self test. This function is made available to meet the requirements of
the VXIplug&play standard.
For further information, refer to the documentation for
“HPE6432_SelfTest” on page 4-151, function.
Parameter List
instrumentHandle
Variable Type ViSession
This is the ViSession handle that is obtained from the Initialize
function. The instrumentHandle identifies a particular instrument
session.
selfTestResult16
Variable Type ViInt16 (passed by reference)
This parameter returns a value from the instrument's quick self test.
Self-Test Code Description
---------------------------------
0 Passed quick self test
1 Failed quick self test
selfTestMessage
Variable Type ViChar[]
Returns the self-test response string from the instrument.
You must pass a ViChar array with at least 256 bytes.
The self-test response string is a message that directs you to view the
self test log file. This is the same self test log file that is returned in the
Self Test (Quick/Full) function's sLogFile parameter.
If the self test fails, a text description of the failure can be obtained by
reading the self test log file. The self test log file's name is returned in
the sLogFile parameter.