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