Functional Verification: Self-Test
Description
The AFG self-test verifies communications between the AFG and the
HP E1300A/E1301A mainframe or the HP E1405/E1406 command module.
Test Procedure
1. Remove any front panel connections.
2. Reset the AFG:
*RST;*CLS
Reset AFG and clear status registers
3. Remove any connections to the AFG front panel.
4. Execute the AFG self-test:
*TST?
Self-test command
5. Read the result. A "0" indicates that the test passed. A "1" indicates a
failure. Read the error queue using the
SYST:ERR?
command until
the code is "0".
Example Program
10 ! RE-STORE "SELF_TEST"
20 DIM Message$[255]
30 INTEGER Result
40 !
50 !---------- Set up I/O path ----------
60 ASSIGN @Afg TO 70910
70 !
80 !---------- Perform Self-test ----------
90 OUTPUT @Afg;"*RST;*CLS"
100 OUTPUT @Afg;"*TST?"
110 ENTER @Afg;Result
120 IF Result<>0 THEN
130 PRINT "SELF-TEST FAILED"
140 REPEAT
150 OUTPUT @Afg;"SYST:ERR?"
160 ENTER @Afg;Code,Message$
170 PRINT Code,Message$
180 UNTIL NOT Code
190 ELSE
200 PRINT "SELF-TEST PASSED"
210 END IF
220 END
Chapter 2
Verification Tests 23
Содержание E1340A
Страница 6: ...Notes 6 HP E1340A Arbitrary Function Generator Service Manual ...
Страница 8: ......
Страница 10: ...Notes 12 What s in this Manual HP E1340A Service Manual ...
Страница 18: ...Notes 20 General Information Chapter 1 ...
Страница 74: ...Notes 76 Adjustments Chapter 3 ...
Страница 78: ...Notes 80 Replaceable Parts Chapter 4 ...
Страница 104: ...Notes 106 Verification Tests C Programs Appendix A ...