beautypg.com

Functional verification – Agilent Technologies 75000 Series C User Manual

Page 28

background image

Functional Verification

Example Program

This program performs the Functional Verification Tests for the AFG. An Agilent E1405/E1406 Command
Module is required for this test.

10! RE-STORE "FUNC_TEST"
20 COM @Afg,@Cmd_mod,INTEGER Done
30 !
40 !---------- Set up I/O paths ----------
50 ASSIGN @Afg TO 70910
60 ASSIGN @Cmd_mod TO 70900
70 !
80 !---------- Initialize AFG & Command Module ----------
90 Reset_afg
100 !
110 !Set up Command Module ’TRIG OUT’ port
120 OUTPUT @Cmd_mod;"*RST"
130 OUTPUT @Cmd_mod;"OUTP:EXT:STAT ON"
140 OUTPUT @Cmd_mod;"OUTP:EXT:SOUR INT"
150 !
160 !---------- Perform tests ----------
170 CLEAR SCREEN
180 PRINT "Agilent E1445A FUNCTIONAL VERIFICATION TESTS"
190 PRINT
200 !
210 !Oscilloscope settings
220 PRINT "Set scope to: 2 V/div, .02 usec/div"
230 PRINT
240 Wait_for_cont
250 !
260 CALL Self_test

!Self-Test

270 CALL Ref_in

!Ref In/Marker Out Test

280 !
290 !Oscilloscope settings
300 CLEAR SCREEN
310 PRINT "Set scope to: 2 V/div, .2 usec/div"
320 PRINT
330 Wait_for_cont
340 !
350 CALL Start_arm

!Start Arm In Test

360 CALL Gate_in

!Gate In Test

370 CALL Output_relay

!Output Relay Test

380 !
390 Quit: !
400 Reset_afg
410 CLEAR SCREEN
420 DISP "Functional Tests completed."
430 END

(Continued on next page)

26 Verification Tests

Agilent E1445A Service Manual

This manual is related to the following products: