4. Set up the AFG to output a 10 kHz sinewave with gating enabled:
FREQ 1E4;
Set freq to 1 MHz
:OUTP:LOAD INF
Infinite load
VOLT 4VPK
Set AFG amplitude
ROSC:GATE:STAT ON
Gate enabled
INIT:IMM
Initiate
5. Initiate the Pacer by sending the following command to the
mainframe:
INIT:IMM
Initiate Pacer
6. Verify that the scope display toggles between a 10 kHz sinewave and
a DC signal at 1-second intervals.
Example Program
10! RE-STORE "AUX_IN"
20 !
30 !---------- Set up I/O path ----------
40 ASSIGN @Afg TO 70910
50 ASSIGN @Pacer TO 70900
60 !
70 !---------- Initialize AFG & Mainframe Pacer ----------
80 OUTPUT @Afg;"*RST;*CLS"
!Reset AFG
90 !
100 !Set up Mainframe Pacer port
110 OUTPUT @Pacer;"*RST"
120 OUTPUT @Pacer;"PULS:COUN INF"
!Infinite pulse count
130 OUTPUT @Pacer;"PULS:PER 2 S"
!2 second period
140 !
150 !---------- Connect equipment ----------
160 CLEAR SCREEN
170 PRINT "Set Scope to 2 V/div, .02 msec/div"
180 PRINT
190 PRINT "Connect Mainframe Pacer Out to AFG Aux In."
200 PRINT "Connect Scope to AFG Output."
210 DISP "Press ’Continue’ when ready"
220 PAUSE
230 CLEAR SCREEN
240 !
(Continued on Next Page
)
Chapter 2
Verification Tests 25
Содержание 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 ...