
Series 3700 System Switch/Multimeter Reference Manual
Section 9
:
Instrument Control Library (ICL)
Document Number: 3700S-901-01 Rev. A / August 2007
9-95
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
) and
high
limit value (specified by
dmm.limit[Y].
high.value
). 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
and dmm.limit[Y].
high.fail
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 update 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 low commands.
Also see
dmm.limit[Y].high.value (on page 9-96)
dmm.limit[Y].high.fail (on page 9-95)
dmm.limit[Y].low.fail (on page 9-96)
dmm.limit[Y].low.value
(on page 9-97)
Example
Enable limit 2 testing:
dmm.limit[2].enable = dmm.ON
dmm.limit[Y].high.fail
where Y = 1 to 2 for limit
number
Attribute
Query for the high test results of limit Y.
Usage
To read the high fail indication of limit Y:
value = dmm.limit[Y].fail.high