User`s manual
680 COM @Afg,Afg1
690 OUTPUT @Afg;"*RST;*OPC?" !reset the AFG
700 ENTER @Afg;Complete
710 SUBEND
720 !
730 SUB Wf_del
740 Wf_del: !Subprogram which deletes all sequences and segments.
750 COM @Afg,Afg1
760 OUTPUT @Afg;"FUNC:USER NONE" !select no sequences
770 OUTPUT @Afg;"LIST:SSEQ:DEL:ALL" !Clear sequence memory
780 OUTPUT @Afg;"LIST:SEGM:DEL:ALL" !Clear segment memory
790 SUBEND
800 !
810 SUB Errmsg
820 Errmsg: !Subprogram which displays E1445 programming errors
830 COM @Afg,Afg1
840 DIM Message$[256]
850 !Read AFG status byte register and clear service request bit
860 B=SPOLL(@Afg)
870 !End of statement if error occurs among coupled commands
880 OUTPUT @Afg;""
890 OUTPUT @Afg;"ABORT" !abort output waveform
900 REPEAT
910 OUTPUT @Afg;"SYST:ERR?" !read AFG error queue
920 ENTER @Afg;Code,Message$
930 PRINT Code,Message$
940 UNTIL Code=0
950 STOP
960 SUBEND
Visual BASIC and
Visual C/C++ Program
Versions
The Visual BASIC example program, COMBUNS.FRM, is in directory
“VBPROG” and the Visual C example program, COMBUNS.C, is in
directory “VCPROG” on the CD that came with your Agilent E1445A.
This program sends the combined list using Unsigned data as Indefinite
Length Arbitrary Block Data. It is thus very similar to the UNS_DAT
program beginning on page 230 and the DACBLOK2 program beginning on
page 236.
Chapter 7 High Speed Operation 249