User`s manual
670 Errmsg: !Subprogram which displays E1445 programming errors
680 COM @Afg
690 DIM Message$[256]
700 !Read AFG status byte register and clear service request bit
710 B=SPOLL(@Afg)
720 !End of statement if error occurs among coupled commands
730 OUTPUT @Afg;""
740 OUTPUT @Afg;"ABORT" !abort output waveform
750 REPEAT
760 OUTPUT @Afg;"SYST:ERR?" !read AFG error queue
770 ENTER @Afg;Code,Message$
780 PRINT Code,Message$
790 UNTIL Code=0
800 STOP
810 SUBEND
Visual BASIC and
Visual C/C++ Program
Versions
The Visual BASIC example program, MARKTRG.FRM, is in directory
“VBPROG” and the Visual C example program, MARKTRG.C, is in
directory “VCPROG” on the CD that came with your Agilent E1445A.
Chapter 6 Marker Outputs/Multiple AFG Operations 217