User manual
Section 13: Instrument Control Library (ICL) Series 3700 System Switch/Multimeter Reference Manual
13-142 3700S-901-01 Rev. C / July 2008
dmm.limit[Y].clear()
where Y = 1 or 2 for limit
number
Example
To clear the test results for both the high and low limit 2:
dmm.limit[2].clear()
dmm.limit[Y].enable
where Y = 1 or 2 for limit
number
Attribute
Enable or disable limit Y testing.
Usage
To read the state of limit Y:
value = dmm.limit[Y].enable
To write the state of limit Y:
dmm.limit[Y].enable = value
Set value to:
dmm.ON or 1 to enable limit Y testing
dmm.OFF or 0 to disable limit Y testing
Remarks
When this attribute is set to dmm.ON, the limit Y testing will occur on each
measurement taken by the DMM whether being requested by the dmm.measure
function or being part of a scan sequence. Limit Y testing involves using the low limit
value (specified by dmm.limit[Y].low.value (on page 13-144)) and high limit value
(specified by dmm.limit[Y].high.value (on page 13-143)). If the measurement value
falls outside either of these limits, then the test fails. Else, it passes. To see the test
results, use the dmm.limit[Y].low.fail (on page 13-143) and dmm.limit[Y].high.fail (on
page 13-142) attributes.
To not use limit Y testing, set the attribute to dmm.OFF. The default setting is
dmm.OFF. With limits disabled, limit testing is not performed after taking a
measurement. Therefore, the status bits are not updated, the fail indication does not
get updated and hardware lines are not generated.
Limits are invalid when dmm.func = "continuity". Trying to use the limit commands with
this function selected will generate an error.
Limits may be enabled with this command, but without assigning the events to a
trigger stimulus for a digital I/O line, there will be no hardware indication of limits. See
the dmm.limit[Y].high and dmm.limit[Y].low commands (listed in the "Also See"
section).
Also see
dmm.limit[Y].high.value (on page 13-143)
dmm.limit[Y].high.fail (on page 13-142)
dmm.limit[Y].low.fail (on page 13-143)
dmm.limit[Y].low.value (on page 13-144)
Example
Enable limit 2 testing:
dmm.limit[2].enable = dmm.ON