
id
testMessage
Note
testResult
Agilent E1439 Programmer's Reference
Functions listed alphabetically
age1439_self_test
Performs a
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
Parameters
is the VXI instrument session pointer returned by the age1439_init function. points to the self test status message string up to 256 characters long.
For this parameter you must allocate a character array of at least 256 characters AGE1439_STR_ LEN_MIN, including the null byte, prior to calling this function in any programming language.
points to the instrument numeric error code. Possible test result values are:
Error | Error Code | Self Test |
Message | (hex) | 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 |
170