Agilent Technologies E1446A Car Amplifier User Manual


 
where V
o
is the output amplitude and V
i
is the input signal amplitude
(V
o
and V
i
units (Vpp, Vp) must be the same). Thus,
attenuation
(dB)
= 20 LOG 6.3/10 = -4 dB
BASIC (RGBIMP)
1 !RE-STORE "RGBIMP"
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 2E6;"; !frequency
190 OUTPUT @Afg;":SOUR:FUNC:SHAP SQU;"; !function
200 OUTPUT @Afg;":SOUR:VOLT:LEV:IMM:AMPL 1VPP;"; !amplitude
210 OUTPUT @Afg;":OUTP:IMP 75;"; !output impedance
220 OUTPUT @Afg;":OUTP:LOAD 75" !output load
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 !
Continued on Next Page
C-20 Register-Based Programming Example Programs