User`s manual

450 TRIGGER 7 !advance to next frequency
460 NEXT I
470 DISP “”
480 SUBEND
490 !
500 SUB Rst
510 Rst: !Subprogram which resets the E1445.
520 COM @Afg,Pts
530 OUTPUT @Afg;" *RST;*OPC? !reset the AFG
540 ENTER @Afg;Complete
550 SUBEND
560 !
570 SUB Errmsg
580 Errmsg: !Subprogram which displays E1445 programming errors
590 COM @Afg,Pts
600 DIM Message$[256]
610 !Read AFG status byte register and clear service request bit
620 B=SPOLL(@Afg)
630 !End of statement if error occurs among coupled commands
640 OUTPUT @Afg;""
650 OUTPUT @Afg;"ABORT" !abort output waveform
660 REPEAT
670 OUTPUT @Afg;"SYST:ERR?" !read AFG error queue
680 ENTER @Afg;Code,Message$
690 PRINT Code,Message$
700 UNTIL Code=0
710 STOP
720 SUBEND
Visual BASIC and
Visual C/C++ Program
Versions
The Visual BASIC example program, LIST_STP.FRM, is in directory
“VBPROG” and the Visual C example program, LIST_STP.C, is in
directory “VCPROG” on the CD that came with your Agilent E1445A.
Chapter 5 Arming and Triggering 195