![Agilent Technologies 8719ES Скачать руководство пользователя страница 496](http://html.mh-extra.com/html/agilent-technologies/8719es/8719es_programmers-manual_2867960496.webp)
Chapter 7
7-133
Programming Examples
Limit Line and Data Point Special Functions
Example Program of OUTPSEGAF Using BASIC
The following program is not included on the “Programming Examples” CD-ROM:
10 OUTPUT 716; "outpsegaf;"
20 ENTER 716; Numsegs
30 PRINT "Receiving status for"; Numsegs; "segments."
40 IF Numsegs>0 THEN
50
FOR I=1 TO Numsegs
60
ENTER 716; Segnum, Pf
70
PRINT USING "DD, 2X, 8A"; Segnum, Pf
80
NEXT I
The example program shows how the
OUTPSEGAF
command can be used to request the
number of active segments and their status. Notice that each segment result must use a
new enter command as a line feed terminates each segment data result.
Output Minimum and Maximum Point Per Limit Segment
The command
MINMAX<ON|OFF>
toggles a feature which records the minimum and
maximum data points in all active limit segments. Note that limit testing need not be
turned on.
The command
OUTPSEGM
will report the min/max data for the segment previously selected
by
SELSEG
. The data is returned in a comma delimited string with the segment number,
minimum point stimulus, minimum trace value, maximum point stimulus and maximum
trace value.
Under the following conditions,
OUTPSEGM
will issue the following errors:
• If the min/max testing is off: “30: Requested Data Not Currently Available.” To clear the
error message, turn the min/max testing on.
• If the limit table is empty: “204: Limit Table Empty” (this is a new message). To clear
the error message, enter a new limit table.
When the above error conditions occur, there is no data to report, thus no output is
generated.
If the selected segment has no associated limit, the NO_DATA string is generated,
which reports a stimulus value of 0 and a data value of
−
1000.
Содержание 8719ES
Страница 15: ...1 1 1 Alphabetical Command Reference ...
Страница 293: ...2 1 2 Introduction to Instrument Control ...
Страница 310: ...3 1 3 GPIB Programming ...
Страница 334: ...4 1 4 Reading Analyzer Data ...
Страница 343: ...5 1 5 Data Processing Chain ...
Страница 350: ...6 1 6 Error Reporting ...
Страница 364: ...7 1 7 Programming Examples ...
Страница 502: ...A 1 A Preset Conditions ...
Страница 517: ...B 1 B Command Listings ...