Agilent Technologies E1446A Car Amplifier User Manual


 
In this example, the E1446A is a servant to the E1405. As such, commands
sent to the amplifier (at secondary GPIB address 11) are parsed by the
Command Module rather than by the E1445A.
IN_IMP05
1 !RE-STORE"IN_IMP05"
2 !This program sets the AFG’s output impedance and output load
3 !to 75 ohms. The Agilent E1446A amplifier’s input impedance is set to
4 !75 ohms to match the AFG. The 1 Vpp AFG square wave is amplified
5 !to 6.3 Vpp.
6 !
10 !Assign I/O paths between the computer and E1445A and E1405.
20 ASSIGN @Afg TO 70910
30 ASSIGN @Amp TO 70911
40 COM @Afg,@Amp
50 !
60 !Set up error checking
70 ON INTR 7 CALL Errmsg
80 ENABLE INTR 7;2
90 OUTPUT @Afg;"*CLS"
100 OUTPUT @Afg;"*SRE 32"
110 OUTPUT @Afg;"*ESE 60"
120 !
130 OUTPUT @Amp;"*CLS"
140 OUTPUT @Amp;"*SRE 32"
150 OUTPUT @Amp;"*ESE 60"
160 !
170 !Call the subprograms
180 CALL Rst
190 CALL Out_load
200 !
210 WAIT .1 !allow interrupt to be serviced
220 OFF INTR 7
230 END
240 !
250 SUB Out_load
260 Out_load: !Subprogram which sets the output load
270 COM @Afg,@Amp
280 OUTPUT @Afg;"SOUR:FREQ1:FIX 2E6;"; !frequency
290 OUTPUT @Afg;":SOUR:FUNC:SHAP SQU;"; !function
300 OUTPUT @Afg;":SOUR:VOLT:LEV:IMM:AMPL 1VPP;"; !amplitude
310 OUTPUT @Afg;":OUTP:IMP 75;"; !output impedance
320 OUTPUT @Afg;":OUTP:LOAD 75" !output load
330 !
Continued on Next Page
2-18 Programming the Agilent E1446A Setting the Input Impedance