User`s manual

420 Errmsg: !Subprogram which displays E1445 programming errors
430 COM @Afg
440 DIM Message$[256]
450 !Read AFG status byte register and clear service request bit
460 B=SPOLL(@Afg)
470 !End of statement if error occurs among coupled commands
480 OUTPUT @Afg;""
490 OUTPUT @Afg;"ABORT" !abort output waveform
500 REPEAT
510 OUTPUT @Afg;"SYST:ERR?" !read AFG error queue
520 ENTER @Afg;Code,Message$
530 PRINT Code,Message$
540 UNTIL Code=0
550 STOP
560 SUBEND
Visual BASIC and
Visual C/C++ Program
Versions
The Visual BASIC example program, BURST.FRM, is in directory
“VBPROG” and the Visual C example program, BURST.C, is in directory
“VCPROG” on the CD that came with your Agilent E1445A.
Chapter 5 Arming and Triggering 171