BASIC Program Example (AFGGEN2)
This program is similar to the AFGGEN1 program on page 102 except it
selects different reference oscillator and sample sources. The differences
are as follows:
1
!RE-STORE"AFGGEN2"
2
!This program outputs a ramp arbitrary waveform using the
3
!AFG’s frequency2 generator.
160
!Set waveform parameters
170
OUTPUT @Afg;"SOUR:ROSC:SOUR INT2;";
180
OUTPUT @Afg;":TRIG:STAR:SOUR INT2;";
190
OUTPUT @Afg;":SOUR:FREQ2:RANG 40E6;";
200
OUTPUT @Afg;":SOUR:FREQ2:FIX 40E6;";
Visual BASIC and
Visual C/C++ Program
Versions
The Visual BASIC example program, AFGGEN2.FRM, is in directory
“VBPROG” and the Visual C example program, AFGGEN2.C, is in
directory “VCPROG” on the CD that came with your Agilent E1445A.
Sample Programs
The programs in this section generate various arbitrary waveforms.
All programs output waveforms at a 1 kHz repetition frequency and
5 V amplitude. These programs do not delete any waveform segments and
segment sequences stored in memory. Thus, once a program is executed, it
generates Error +1100,"Illegal segment name" and Error +1110,"Illegal
sequence name", if executed again.
Due to the similarity of all the programs, only the first program is
completely presented here. Only the differences are shown by the other
programs.
104 Generating Arbitrary Waveforms
Chapter 3
Содержание E1445A
Страница 2: ......
Страница 14: ...Notes 12 Agilent E1445A User s Manual Contents...
Страница 18: ...Notes 16 Agilent E1445A Arbitrary Function Generator User s Manual...
Страница 19: ...Notes Agilent E1445A Arbitrary Function Generator User s Manual 17...
Страница 20: ...Notes 18 Agilent E1445A Arbitrary Function Generator User s Manual...
Страница 54: ...Notes 52 Getting Started Chapter 1...
Страница 84: ...Notes 82 Generating Standard Waveforms Chapter 2...
Страница 204: ...Notes 202 Arming and Triggering Chapter 5...
Страница 432: ...Figure 9 1 E1445A Status Groups and Associated Registers 430 AFG Status Chapter 9...
Страница 446: ...Notes 444 AFG Status Chapter 9...
Страница 464: ...Notes 462 Agilent E1445A Specifications Appendix A...
Страница 534: ...Notes 532 Agilent E1445A User s Manual Index...