User`s guide
4-84 Agilent E6432A Microwave Synthesizer User’s Guide
HPE6432_GetLastSelfTestResults
ViStatus HPE6432_GetLastSelfTestResults (ViSession
instrumentHandle, ViInt16 selfTestType, ViUInt32
*diagResult, ViChar date[], ViChar sLogFile[]);
Purpose
This function is used to get the last self test results that were produced
using either a full or a quick self test.
The test status is returned as either pass or fail. The test type (full or
quick), the result (zero indicating pass and non-zero indicating fail), the
test date, and a logfile name containing detailed information related to
errors that occurred during the self test are also returned.
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
selfTestType
Variable Type ViInt16
This parameter specifies the type of test results to be viewed.
Self-Test CodeDescription
-----------------------------------------------------
0 View results from Full Self Test with RF On
1 View results from Quick Self Test with No RF
diagResult
Variable Type ViUInt32 (passed by reference)
This parameter returns which tests failed. A zero return indicates that
all tests passed.
date
Variable Type ViChar[]
This parameter returns the date that the self test was run.