User`s manual

910 PRINT Code,Message$
920 UNTIL Code=0
930 STOP
940 ELSE !servant error
950 B=SPOLL(@Afg_s)
960 !End of statement if error occurs among coupled commands
970 OUTPUT @Afg_s;""
980 OUTPUT @Afg_s;"ABORT" !abort output waveform
990 PRINT "Servant AFG"
1000 PRINT
1010 REPEAT
1020 OUTPUT @Afg_s;"SYST:ERR?" !read AFG error queue
1030 ENTER @Afg_s;Code,Message$
1040 PRINT Code,Message$
1050 UNTIL Code=0
1060 STOP
1070 END IF
1080 SUBEND
Visual BASIC and
Visual C/C++ Program
Versions
The Visual BASIC example program, DRIFT.FRM, is in directory
“VBPROG” and the Visual C example program, DRIFT.C, is in directory
“VCPROG” on the CD that came with your Agilent E1445A.
Marker Program Comments
The following program comments give additional details on the program
examples in this chapter.
Determining the
Number of Marker
Points of a
Waveform Segment
Use [SOURce:]LIST[1]:MARKer:POINts? to determine the length of the
marker pulse list selected by
[SOURce:]LIST[1]:MARKer. The command
returns the marker list size of the currently selected waveform segment.
Determining the
Number of Marker
Points of a
Segment Sequence
Use [SOURce:]LIST[1]:SSEQuence:MARKer:POINts? to determine the
length of the marker pulse list selected by
[SOURce:]LIST[1]:SSEQuence:MARKer. The command returns the marker
list size of the currently selected segment sequence.
222 Marker Outputs/Multiple AFG Operations Chapter 6