User`s manual
910 Wf_del: !Subprogram which deletes all sequences and segments.
920 COM @Afg
930 OUTPUT @Afg;"FUNC:USER NONE" !select no sequences
940 OUTPUT @Afg;"LIST:SSEQ:DEL:ALL" !Clear sequence memory
950 OUTPUT @Afg;"LIST:SEGM:DEL:ALL" !Clear segment memory
960 SUBEND
970 !
980 SUB Errmsg
990 Errmsg:!Subprogram which displays E1445 programming errors
1000 COM @Afg,Seg_mem$,Seq_mem$
1010 DIM Message$[256]
1020 !Read AFG status byte register and clear service request bit
1030 B=SPOLL(@Afg)
1040 !End of statement if error occurs among coupled commands
1050 OUTPUT @Afg;""
1060 OUTPUT @Afg;"ABORT" !abort output waveform
1070 REPEAT
1080 OUTPUT @Afg;"SYST:ERR?" !read AFG error queue
1090 ENTER @Afg;Code,Message$
1100 PRINT Code,Message$
1110 UNTIL Code=0
1120 STOP
1130 SUBEND
Visual BASIC and
Visual C/C++ Program
Versions
The Visual BASIC example program, MARKSEG1.FRM, is in directory
“VBPROG” and the Visual C example program, MARKSEG1.C, is in
directory “VCPROG” on the CD that came with your Agilent E1445A.
Chapter 6 Marker Outputs/Multiple AFG Operations 211