Section 9
:
Instrument Control Library (ICL)
Series 3700 System Switch/Multimeter Reference Manual
9-100
Document Number: 3700S-901-01 Rev. A / August 2007
dmm.math.enable
Example
To enable math operation on measurements:
dmm.math.enable = dmm.ON
dmm.math.format
Attribute
Specifies the math operation to perform on measurements.
Usage
To read the math operation type:
value = dmm.math.format
To write the math operation type:
dmm.math.format = value
Set value to:
dmm.MATH _NONE or 0
dmm.MATH_MXB or 1
dmm.MATH_PERCENT or 2
dmm.MATH_RECIPROCAL or 3
Remarks
To have no math operation performed on the measurements, set this attribute to
dmm.MATH_NONE. Having this equal dmm.MATH_NONE and enabling math operation
(dmm.math.enable), the equivalent effect is disabling math operation.
Use a setting of dmm.MATH_MXB to have
Y = mX + b where X is the normal measurement
m
is user entered constant for scale factor (
dmm.math.mxb.mfactor
(on page 9-101))
b
is user entered constant for offset (
dmm.math.mxb.bfactor
(on page 9-101))
Y
is the result
When using relative offset measurement control (
dmm.rel.enable
(on page 9-110)), the
rel‘ed reading is used for X.
Use a setting of dmm.MATH_PERCENT to have:
where:
Input
is the normal measurement (if using REL, it will be the Rel‘ed value)
Reference
is user entered constant (dmm.math.percent)
Percent
is the result
Use a setting of dmm.MATH_RECIPROCAL for 1/X operation, where X is normal or
REL‘ed measurement value.
The desired math operation is performed before any of the enabled limit testing. Default
setting is dmm.MATH_PERCENT.