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