Agilent Technologies E1446A Car Amplifier User Manual


 
360 DATA 4.,75.,0.,50.
370 READ In1_atten,In1_imped,In2_atten,In2_imped !input atten and imp
380 !
390 DATA 0.,50.,1 !main output attenuation, impedance, and state
400 READ Out1_atten,Out1_imped,Out1_state
410 !
420 DATA 50.,50. !differential output impedances
430 READ Out2_imped,Out3_imped
440 !
450 Offset= 0. !DC offset
460 !
470 !Set E1446A base address and initialize COM variables
480 Set_addr(88)
490 !
500 !Set up E1446A
510 Setup_e1446(In1_atten,In1_imped,In2_atten,In2_imped,Out1_atten,Out1_imped,
Out1_state,Out2_imped,Out3_imped,Offset)
520 !
530 OUTPUT @Afg;"INIT:IMM" !E1445A wair-for-arm state
540 END
550 !
Setting a DC
Voltage Offset
This program adds an 8V DC offset to a 0.4 Vpp E1445A signal. To
maintain 0.4 Vpp at the output, the signal is attenuated by 20 dB at the
amplifier input (Figure 2-1). The offset supplied by the E1446A DAC is
added to the input signal and is amplified. Into 50
, the 0.4 Vpp signal is
centered on 8V.
BASIC (RGBOFFS)
1 !RE-STORE "RGBOFFS"
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 !
Continued on Next Page
Example Programs Register-Based Programming C-21