TEST

*TST?

*TST? performs all internal self-tests on the module and returns a 16-bit integer indicating the results of the self-test. All circuits on the module are tested up to the output relay.

Parameters None.

Comments Following the completion of this query, all outputs are disabled and set to either 0 A or 0 V.

If the module is in the wait-for-trigger state when this query is received, an error is generated.

The returned value indicates the first failure found. Complete test results (all failures found) are reported by the query TEST:TST[:RESults]?.

A successful self-test returns +0.

A failure of a self-test returns a non-zero 16-bit integer. The integer returned has a binary coding of the form:

BIT

15

14

13

12

11

10

9

8

7

 

6

5

4

3

2

1

0

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Meaning

 

 

 

Test Number

 

 

 

 

A24

 

 

Test Info

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Test number is the internal self-test number of the first failure found. The Test Info and A24 fields contain information related to the failure in Test Number.

Test Number

Tested Area

1–25

Register Read and Writes.

 

 

26–41

Trigger Control for each Channel.

 

(test 26 corresponds to channel 1,

 

test 41 corresponds to channel 16)

 

 

42–43

VXIbus Interrupt Control.

 

 

44–59

Channel Voltage Output.

 

(test 44 corresponds to channel 1,

 

test 59 corresponds to channel 16)

 

 

60–75

Channel Current Output.

 

(test 60 corresponds to channel 1,

 

test 75 corresponds to channel 16)

 

 

Complete descriptions of each test and specific codes returned in the Test Info field are contained in the HP E1418A Service Manual.

A subset of self-test is automatically run at power-on.

Related Commands: TEST:TST[:RESults]?

Chapter 3

HP E1418A SCPI Command Reference 103