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