Functional Verification
Example Program (cont’d)
1340 PRINT "Verify that no signal appears on the scope."
1350 PRINT "Press ’Continue’ to send a START ARM."
1360 PRINT
1370 Wait_for_cont
1380 !
1390 !Set ’TRIG OUT’ to 5V
1400 OUTPUT @Cmd_mod;"OUTP:EXT:LEV 0"
1410 !
1420 PRINT "Verify that the scope shows a 1 MHz sinewave."
1430 Wait_for_cont
1440 SUBEND
1450 !
1460 SUB Gate_in
1470 COM @Afg,@Cmd_mod,INTEGER Done
1480 !
1490 Reset_afg
1500 !
1510 CLEAR SCREEN
1520 PRINT "GATE IN TEST"
1530 PRINT
1540 !
1550 !Test connections
1560 PRINT "Connect Scope to the E1445A Output."
1570 PRINT "Connect Command Module ’Trig Out’ to ’Stop Trig/FS K/Ga te In’ on the E 14 45A ."
1580 PRINT
1590 Wait_for_cont
1600 !
1610 !Perform test
1620 OUTPUT @Afg;"TRIG:GATE:SOUR EXT;"; !Gate source is EXT
1630 OUTPUT @Afg;":TRIG:GATE:STAT ON;"; !Enable gate
1640 OUTPUT @Afg;":FREQ 1E6;"; !Set freq to 1 MHz
1650 OUTPUT @Afg;":VOLT 4VPP" !Set amplitude
1660 OUTPUT @Afg;"INIT:IMM" !Initiate
1670 !
1680 PRINT "Verify that the signal displayed on the scope toggles between"
1690 PRINT "a 1 MHz sinewave and a DC signal at 1 second interva ls."
1700 !
1710 ON KBD ALL CALL Key_press
1720 DISP "Press any key to continue"
1730 !
1740 Done=0
1750 !Send pulses to ’TRIG OUT’ BNC until a key is pressed
(Continued on next page)
Agilent E1445A Service Manual Verification Tests 29