Functional Verification
Example Program (cont’d)
1760 REPEAT
1770 OUTPUT @Cmd_mod;"OUTP:EXT:LEV 1"
1780 WAIT 1
1790 OUTPUT @Cmd_mod;"OUTP:EXT:LEV 0"
1800 WAIT 1
1810 UNTIL Done
1820 OFF KBD
1830 SUBEND
1840 !
1850 SUB Output_relay
1860 COM @Afg,@Cmd_mod,INTEGER Done
1870 !
1880 Reset_afg
1890 !
1900 CLEAR SCREEN
1910 PRINT "OUTPUT RELAY TEST"
1920 PRINT
1930 !
1940 !Test connections
1950 PRINT "Connect Scope to the E1445A Output."
1960 PRINT
1970 Wait_for_cont
1980 !
1990 !Perform test
2000 OUTPUT @Afg;"FREQ 1E6;"; !Set freq to 1 MHz
2010 OUTPUT @Afg;":VOLT 4VPP" !Set amplitude
2020 OUTPUT @Afg;"INIT:IMM" !Initiate
2030 !
2040 PRINT "Verify that the scope shows a 1 MHz sinewave."
2050 PRINT "Press ’Continue’ to disable the E1445A output. "
2060 PRINT
2070 Wait_for_cont
2080 !
2090 OUTPUT @Afg;"OUTP OFF" !Open Output relay
2100 PRINT "Verify that no signal appears on the scope."
2110 Wait_for_cont
2120 SUBEND
2130 !
(Continued on next page)
30 Verification Te sts Agilent E1445A Serv ice Manual