Agilent Technologies E1446A Car Amplifier User Manual


 
Using the
Differential (small
signal) Outputs
Rather than amplify the input signal, this program attenuates the signal
supplied by the E1445A to obtain an output amplitude of 10 mVpp. The
output can be taken at either the ’Diff + ’ or ’Diff -’ (inverted) output.
BASIC (RGBDIFF)
1 !RE-STORE "RGBDIFF"
2 LOADSUB ALL FROM "E46SUBS"
3 !
10 COM /E1446/ Base_addr,INTEGER In_ctrl,Out_imped
20 !
30 ! SET UP E1445A
40 !
50 ASSIGN @Afg TO 1680 !E1445A and V/360 I/O path
60 !
70 !E1445A error checking
80 ON INTR 16 CALL Errmsg
90 ENABLE INTR 16;32
100 OUTPUT @Afg;"*CLS"
110 OUTPUT @Afg;"*SRE 32"
120 OUTPUT @Afg;"*ESE 60"
130 !
140 !Reset E1445A and clear status
150 OUTPUT @Afg;"*RST;*CLS;*OPC?"
160 ENTER @Afg;Ready
170 !
180 OUTPUT @Afg;"SOUR:FREQ1:FIX 1E3;"; !frequency
190 OUTPUT @Afg;":SOUR:FUNC:SHAP SQU;"; !function
200 OUTPUT @Afg;":SOUR:VOLT:LEV:IMM:AMPL MIN;"; !amplitude
210 OUTPUT @Afg;":OUTP:LOAD:AUTO ON;"; !couple load to impedance
220 OUTPUT @Afg;":OUTP:IMP 50" !output impedance
230 !
240 WAIT .1
250 OFF INTR 16
260 !
270 ! BEGIN E1446A CONFIGURATION
280 !
290 !Declare and initialize program variables
300 !
310 REAL In1_atten,In1_imped,In2_atten,In2_imped !input variables
320 REAL Out1_atten,Out1_imped,Out1_state !main output variables
330 REAL Out2_imped,Out3_imped !diff out variables
340 REAL Offset !DC offset variable
350 !
360 DATA 30.,50.,0.,50.
370 READ In1_atten,In1_imped,In2_atten,In2_imped !input atten and imp
Continued on Next Page
Example Programs Register-Based Programming C-23