Age1439_self_test – Agilent Technologies VXI E1439 User Manual
Page 180

170
Agilent E1439 Programmer's Reference
Functions listed alphabetically
age1439_self_test
Performs a self-test and returns the result of that self test.
VXIplug&play Syntax
#include "age1439".h
ViStatus age1439_self_test(ViSession id, ViPInt16 testResult, ViChar testMessage[]);
Description
The Agilent E1439 self test includes the following tests:
•
Digital: verifies the integrity of paths from LO chip through the filters to the memory
controller.
•
Serial: verifies the integrity of serial setup path for each board.
•
Memory: fills the entire DRAM then verifies that all the data is correct.
•
Analog: verifies that auto zero adjust is working and that the input is triggering.
•
Clock: verifies that the oscillator is working properly.
•
Fiber: performs five-second internal fiber verification.
Parameters
id
is the VXI instrument session pointer returned by the age1439_init function.
testMessage
points to the self test status message string up to 256 characters long.
Note
For this parameter you must allocate a character array of at least 256 characters
, including the null byte, prior to calling this function in any programming language.
testResult
points to the instrument numeric error code.
Possible test result values are:
Error
Message
Error Code
(hex)
Self Test
Status Message
AGE1439_ST_SUCCESS
0x000
self test successful
AGE1439_ST_HARDWARE_FAIL
0x001
hardware failure
AGE1439_ST_SERIAL1_FAIL
0x002
serial 1 test failed
AGE1439_ST_SERIAL2_FAIL
0x004
serial 2 test failed
AGE1439_ST_CLOCK_FAIL
0X008
95 MHz clock test failed
AGE1439_ST_MEMORY_FAIL
0x020
memory test failed
AGE1439_ST_DIGITAL1_FAIL
0x040
real data path failed
AGE1439_ST_DIGITAL2_FAIL
0x080
complex data path failed