Agilent Technologies E1446A Car Amplifier User Manual


 
550 REPEAT
560 OUTPUT @Afg;"SYST:ERR?" !read AFG error queue
570 ENTER @Afg;Code,Message$
580 PRINT Code,Message$
590 UNTIL Code=0
600 STOP
610 SUBEND
Amplifying Sine
Waves (Agilent
E1405 Commander)
This program uses the same commands and sequence as previously
described, except for the OUTPut[1] commands shown below:
6. Set the amplifieroutput impedance.
OUTPut[1]:IMPedance <impedance>
7. Set the amplifier output attenuation.
OUTPut[1]:ATTenuation <attenuation>
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.
AMPL05
1 !RE-STORE"AMPL05"
2 !The following program uses the Agilent E1445A to generate a 1 kHz, 2Vpp
3 !sine wave. The Agilent E1446A amplifies the signal to approximately 14 Vpp.
4 !
10 !Assign I/O paths between the computer and E1445A, and between the
20 !computer and E1405. As the commander of the E1446A, the E1405 sends the
30 !amplifier its commands.
40 ASSIGN @Afg TO 70910
50 ASSIGN @Amp TO 70911
60 COM @Afg,@Amp
70 !
80 !Set up error checking
90 ON INTR 7 CALL Errmsg
100 ENABLE INTR 7;2
110 OUTPUT @Afg;"*CLS"
120 OUTPUT @Afg;"*SRE 32"
130 OUTPUT @Afg;"*ESE 60"
140 !
Continued on Next Page
2-12 Programming the Agilent E1446A Generating and Amplifying Sine Waves