1010 !
1020 Freq$=FNFormat_num$(Test_freq(I),1.E+5,9,"M6D","MD.2DESZ")
1030 Result_v$=FNFormat_num$(Flat_result,1.E+3,9,"M2D.5D","MD.3DESZ")
1040 Result_dbm$=FNFormat_num$(Flat_error_dbm,10,9,"M2D.5D","MD.3DESZ")
1050 PRINT USING "9A,5X,9A,5X,9A";Freq$,Result_v$,Result_dbm$
1060 NEXT I
!End of loop
1070 PRINT
1080 !
1090 DEALLOCATE Test_freq(*),Results(*)
1100 SUBEXIT
1110 !
1120 Set_afg_freq: !
1130 OUTPUT @Afg;"ABORT"
1140 OUTPUT @Afg;"FREQ "&VAL$(Freq)
1150 OUTPUT @Afg;"INIT:IMM"
1160 RETURN
1170 SUBEND
1180 !
1190 Dmm_flat_rdg:SUB Dmm_flat_rdg(Freq,Rdg,INTEGER Dmm_setup)
1200 COM @Afg,@Dmm,@Pwr_mtr
1210 !
1220 IF Dmm_setup THEN
!If true, set up DMM
1230
!Otherwise, skip setup
1240 DISP "Connect DMM to AFG Output (with 50ohm termination), then press
’Continue’"
1250 PAUSE
1260 DISP
1270 OUTPUT @Dmm;"PRESET NORM;FUNC ACV;SETACV SYNC;TRIG HOLD"
1280 OUTPUT @Dmm;"RANGE 10;DELAY .1"
1290 WAIT 1
1300 Dmm_setup=0
!Clear flag so setup is only performed once
1310 END IF
1320 !
1330 OUTPUT @Dmm;"ACBAND "&VAL$(Freq*.9)&","&VAL$(Freq*1.1)
1340 WAIT .5
1350 OUTPUT @Dmm;"TRIG SGL"
1360 ENTER @Dmm;Rdg
1370 SUBEND
1380 !
1390 Pm_flat_rdg:SUB Pm_flat_rdg(Freq,Rdg,INTEGER Pm_setup)
1400 COM @Afg,@Dmm,@Pwr_mtr
1410 !
1420 IF Pm_setup THEN
!If true, then set up power meter
1430
!Otherwise skip setup
1440 DISP "Connect Power Meter to AFG Output, then press ’Continue’"
1450 PAUSE
1460 DISP
1470 OUTPUT @Pwr_mtr;"IP"
!Instrument preset
1480 OUTPUT @Pwr_mtr;"AU M4 WT"
!Auto operation, RF power, watts
1490 WAIT .5
1500 Pm_setup=0
!Clear flag so setup is only performed once
1510 END IF
(Continued on Next Page)
Chapter 2
Verification Tests 45
Summary of Contents for E1340A
Page 6: ...Notes 6 HP E1340A Arbitrary Function Generator Service Manual ...
Page 8: ......
Page 10: ...Notes 12 What s in this Manual HP E1340A Service Manual ...
Page 18: ...Notes 20 General Information Chapter 1 ...
Page 74: ...Notes 76 Adjustments Chapter 3 ...
Page 78: ...Notes 80 Replaceable Parts Chapter 4 ...
Page 104: ...Notes 106 Verification Tests C Programs Appendix A ...