450
FOR I=1 TO 10
460
DISP “Wait until sweep completes, then press ’Continue’ to start a new sweep”
470
PAUSE
480
TRIGGER @Afg !trigger AFG
490
NEXT I
500
DISP “”
510
SUBEND
520
!
530
SUB Rst
540 Rst:
!Subprogram which resets the E1445.
550
COM @Afg
560
OUTPUT @Afg;" *RST;*OPC?
!reset the AFG
570
ENTER @Afg;Complete
580
SUBEND
590
!
600
SUB Errmsg
610 Errmsg: !Subprogram which displays E1445 programming errors
620
COM @Afg
630
DIM Message$[256]
640
!Read AFG status byte register and clear service request bit
650
B=SPOLL(@Afg)
660
!End of statement if error occurs among coupled commands
670
OUTPUT @Afg;""
680
OUTPUT @Afg;"ABORT"
!abort output waveform
690
REPEAT
700
OUTPUT @Afg;"SYST:ERR?"
!read AFG error queue
710
ENTER @Afg;Code,Message$
720
PRINT Code,Message$
730
UNTIL Code=0
740
STOP
750
SUBEND
Visual BASIC and
Visual C/C++ Program
Versions
The Visual BASIC example program, SWP_TRIG.FRM, is in directory
“VBPROG” and the Visual C example program, SWP_TRIG.C, is in
directory “VCPROG” on the CD that came with your Agilent E1445A.
Chapter 5
Arming and Triggering 189
Summary of Contents for E1445A
Page 2: ......
Page 14: ...Notes 12 Agilent E1445A User s Manual Contents...
Page 18: ...Notes 16 Agilent E1445A Arbitrary Function Generator User s Manual...
Page 19: ...Notes Agilent E1445A Arbitrary Function Generator User s Manual 17...
Page 20: ...Notes 18 Agilent E1445A Arbitrary Function Generator User s Manual...
Page 54: ...Notes 52 Getting Started Chapter 1...
Page 84: ...Notes 82 Generating Standard Waveforms Chapter 2...
Page 204: ...Notes 202 Arming and Triggering Chapter 5...
Page 432: ...Figure 9 1 E1445A Status Groups and Associated Registers 430 AFG Status Chapter 9...
Page 446: ...Notes 444 AFG Status Chapter 9...
Page 464: ...Notes 462 Agilent E1445A Specifications Appendix A...
Page 534: ...Notes 532 Agilent E1445A User s Manual Index...