User`s manual

340 Rst: !Subprogram which resets the E1445.
350 COM @Afg
360 OUTPUT @Afg;"*RST;*OPC?" !reset the AFG
370 ENTER @Afg;Complete
380 SUBEND
390 !
400 SUB Errmsg
410 Errmsg: !Subprogram which displays E1445 programming errors
420 COM @Afg
430 DIM Message$[256]
440 !Read AFG status byte register and clear service request bit
450 B=SPOLL(@Afg)
460 !End of statement if error occurs among coupled commands
470 OUTPUT @Afg;""
480 OUTPUT @Afg;"ABORT" !abort output waveform
490 REPEAT
500 OUTPUT @Afg;"SYST:ERR?" !read AFG error queue
510 ENTER @Afg;Code,Message$
520 PRINT Code,Message$
530 UNTIL Code=0
540 STOP
550 SUBEND
Visual BASIC and
Visual C/C++ Program
Versions
The Visual BASIC example program, EXT_ARM.FRM, is in directory
“VBPROG” and the Visual C example program, EXT_ARM.C, is in
directory “VCPROG” on the CD that came with your Agilent E1445A.
168 Arming and Triggering Chapter 5