User`s manual
250 SUBEND
260 !
270 SUB Rst
280 Rst: !Subprogram which resets the E1445.
290 COM @Afg
300 OUTPUT @Afg;"*RST;*OPC?" !reset the AFG
310 ENTER @Afg;Complete
320 SUBEND
330 !
340 SUB Errmsg
350 Errmsg: !Subprogram which displays E1445 programming errors
360 COM @Afg
370 DIM Message$[256]
380 !Read AFG status byte register and clear service request bit
390 B=SPOLL(@Afg)
400 !End of statement if error occurs among coupled commands
410 OUTPUT @Afg;""
420 OUTPUT @Afg;"ABORT" !abort output waveform
430 REPEAT
440 OUTPUT @Afg;"SYST:ERR?" !read AFG error queue
450 ENTER @Afg;Code,Message$
460 PRINT Code,Message$
470 UNTIL Code=0
480 STOP
490 SUBEND
Visual BASIC and
Visual C/C++ Program
Versions
The Visual BASIC example program, DCVOLTS.FRM, is in directory
“VBPROG” and the Visual C example program, DCVOLTS.C, is in
directory “VCPROG” on the CD that came with your Agilent E1445A.
Chapter 2 Generating Standard Waveforms 57