Series 3700A System Switch/Multimeter Reference Manual
Section 11: TSP command reference
3700AS-901-01 Rev. D/June 2018
11-187
dmm.limit[Y].high.fail
This attribute queries for the high test results of limit
Y
.
Type
TSP-Link accessible
Affected by
Where saved
Default value
Attribute (R)
Yes
Reset
DMM reset
Recall setup
Create configuration script
Save setup
0
Usage
value
= dmm.limit[
Y]
.high.fail
value
The high fail indication for limit
Y
:
▪
0
: Test passed
– measurement within the high limit
▪
1
: Test failed
– measurement has exceeded high limit
Y
Limit number:
1
or
2
Details
This attribute is valid for all functions except
"continuity"
and
"nofunction"
. A nil response
and an error are generated if the command is received when
dmm.func
is set to either of these
functions.
This attribute returns the results of high limit
Y
testing. If this is 1 (failed), the measurement was above
the high limit (
dmm.limit[
Y
].high.value
).
Note that if you are scanning or taking a series of measurements with auto clear
(
dmm.limit[
Y
].autoclear
) enabled for a limit, the last measurement limit dictates the fail
indication for the limit. If autoclear is disabled, you can take a series of readings and read fails to see
if any of one of the readings failed.
To use this attribute, you must set the limit to enable.
If autoclear and limit are not set, the high fail value indicates the results of the last limit test that
occurred when limits were enabled.
In addition to this attribute, you can see the fail indication by reading the measurement event register
of the status model. If the readings are stored in a reading buffer, the values are associated with
bufferVar
.statuses
for the readings.
You can use the digital I/O line trigger stimulus commands to generate a pulse when a limit fails. The
events that can be assigned to a trigger stimulus include:
•
dmm.trigger.EVENT_LIMIT1_HIGH
•
dmm.trigger.EVENT_LIMIT1_LOW
•
dmm.trigger.EVENT_LIMIT2_HIGH
•
dmm.trigger.EVENT_LIMIT2_LOW
Example
This example enables limits 1 and 2 for DC volt, measurements. Limit 1 is checking for readings to be
between 3 and 5 volts while limit 2 is checking for the readings to be between 1 and 7 volts. The auto
clear feature is disabled, so if any reading is outside these limits, the corresponding fail will be 1
afterwards. Therefore, if any one of the fails is 1, analyze the reading buffer data to find out which
reading failed the limits.