7-132 Chapter7
Programming Examples
Limit Line and Data Point Special Functions
Example:
Sending SELSEG3 and OUTPSEGF may return the following:
1 (segment number 3 passed)
NOTE The output is ASCII. Currently, the formatting for integer numbers appears
to append a trailing space.
Output Pass/Fail Status for All Segments
The GPIB command OUTPSEGAF will return the number of segments being reported,
followed by pairs of data consisting of the segment number and its status. A segment is
reported only if it has an associated limit. The output is only valid if limit test is on. See
“Output Limit Test Pass/Fail Status Per Limit Segment” on page 7-131.
Example:
Sending OUTPSEGAF may return the following:
3
1, 0
3, 1
5, 0
For an explanation of these results, see Table 7-16.
NOTE A new Line Feed character <
L
F>
is inserted after the number of segments and
after each data pair.
Table 7-16 is an interpretation of the data returned by the command OUTPSEGAF. For
clarification, status definition is also included.
Table 7-16 Example Output: OUTPSEGAF (pass/fail for all segments)
Segments
Reported
Segment Number Status Status Definition
3
10FAIL
31PASS
50FAIL