Agilent Technologies E1445A Manual de usuario Pagina 146

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 534
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 145
Program Modifications To select another waveform, comment out (!) line 180 or 190 depending on
the waveform sequence (S1 or N1) you DO NOT want to output. You must
also comment out line 330 if line 180 is commented, or line 340 if line 190
is commented.
Visual BASIC and
Visual C/C++ Program
Versions
The Visual BASIC example program, SWP_ARB.FRM, is in directory
“VBPROG” and the Visual C example program, SWP_ARB.C, is in
directory “VCPROG” on the CD that came with your Agilent E1445A.
AC Output Leveling The SWP_LEVL program sets up a sine wave frequency sweep from 0 Hz
to 10 MHz and uses the AFG’s 10 MHz filter and AC output leveling to
maintain a constant amplitude over the span.
With the flowchart in Figure 4-1 as a guide, the steps of this program are:
1. Select the frequency sweep mode
[SOURce:]FREQuency[1]:MODE <mode>
2. Set the start frequency
[SOURce:]FREQuency[1]:STARt <start_freq>
3. Set the stop frequency
[SOURce:]FREQuency[1]:STOP <stop_freq>
4. Set the number of sweeps
[SOURce:]SWEep:COUNt <number>
5. Set the output function
[SOURce:]FUNCtion[:SHAPe] <shape>
6. Set the signal amplitude
[SOURce:]VOLTage[:LEVel][:IMMediate][:AMPLitude] <amplitude>
7. Select the output filter
OUTPut[1]:FILTer[:LPASs]:FREQuency <frequency>
8. Enable the output filter
OUTPut[1]:FILTer[:LPASs][:STATe] <mode>
9. Place the AFG in the wait-for-arm state
INITiate[:IMMediate]
144 Sweeping and Frequency-Shift Keying Chapter 4
Vista de pagina 145
1 2 ... 141 142 143 144 145 146 147 148 149 150 151 ... 533 534

Comentarios a estos manuales

Sin comentarios