Agilent Technologies E1445A Manual de usuario Pagina 274

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 534
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 273
Using the Front Panel’s “Digital Port In” Connector
You can use the “Digital Port In” connector to download data to the
segment memory (
[SOURce:]ARBitrary:DOWNload command), to change
segment sequences without aborting the present operation, or to drive the
DAC directly (
[SOURce:]ARBitrary:DAC:SOURce command).
The WAVSELFP program selects three different sequences using the “Digital
Port In” connector. Sequence 1 is a Sin (X)/X waveform, sequence 2 is a
damped sine waveform, and sequence 3 is a sine wave with spikes waveform.
The program downloads segment data as indefinite length arbitrary block data
using the
[SOURce:]LIST[1][:SEGMent]:COMBined command. Select the
sequences as follows:
FPCLK is clocked, other data lines open – Sequence 3
FPCLK is clocked, FP000 to low – Sequence 2
FPCLK is clocked, FP001 to low – Sequence 1
BASIC Program Example (WAVSELFP)
1 !RE-STORE "WAVSELFP"
2 !This program changes the output waveform sequence once the AFG has been
3 !INITiated by writing the location of a sequence’s base address to the
4 !Waveform Select register. All register reads and writes are 16 bit.
5 !The program uses the front panel ’Digital Port In’ connector to
6 !change the sequences, as follows:
7 !FPCLK is clocked, other data lines open – Sequence 3
8 !FPCLK is clocked, FP000 to low – Sequence 2
9 !FPCLK is clocked, FP001 to low – Sequence 1
10 !
20 !Assign an I/O path between the computer and the AFG
30 ASSIGN @Cmd TO 80900
40 ASSIGN @Afg TO 80910
50 ASSIGN @Afg1 TO 80910;FORMAT OFF !path for binary data
60 Laddr=80 !logical address for AFG
70 COM @Cmd,@Afg,@Afg1,Base_addr,Seq1_addr,Seq2_addr,Seq3_addr
80 !
90 !Subprograms which reset the AFG and erase all existing waveforms.
100 CALL Rst
110 CALL Wf_del
120 !
130 !SCPI commands which configure the AFG
140 OUTPUT @Afg;"SOUR:FREQ1:FIX 4.096E6;"; !Sample rate
150 OUTPUT @Afg;":SOUR:FUNC:SHAP USER;"; !function
160 OUTPUT @Afg;":SOUR:VOLT:LEV:IMM:AMPL 2.1V" !amplitude
170 OUTPUT @Afg;"SOUR:ARB:DAC:SOUR INT" !dac data source
180 OUTPUT @Afg;"SOUR:ARB:DAC:FORM SIGN" !dac data format
190 !
Continued on Next Page
272 High Speed Operation Chapter 7
Vista de pagina 273
1 2 ... 269 270 271 272 273 274 275 276 277 278 279 ... 533 534

Comentarios a estos manuales

Sin comentarios