User`s manual

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