
Section 11: TSP command reference
Series 3700A System Switch/Multimeter Reference Manual
11-200
3700AS-901-01 Rev. D/June 2018
dmm.math.format
This attribute specifies which math operation is performed on measurements when math operations are enabled.
Type
TSP-Link accessible
Affected by
Where saved
Default value
Attribute (RW)
Yes
Reset
DMM reset
Recall setup
Create configuration script
Save setup
2 (dmm.MATH_PERCENT)
Usage
state
= dmm.math.format
dmm.math.format =
state
state
Math operation to be performed on measurements:
▪
dmm.MATH_NONE
or
0
▪
dmm.MATH_MXB
or
1
▪
dmm.MATH_PERCENT
or
2
▪
dmm.MATH_RECIPROCAL
or
3
Details
This is not available for
"nofunction"
. If this command is queried when
"nofunction"
is
selected, nil is returned. If it is written when
"nofunction"
is selected, an error is returned.
If you set this attribute to
dmm.MATH_NONE
, math operation is disabled, even if math operation
(
dmm.math.enable
) is enabled.
Use a setting of
dmm.MATH_MXB
to have
where:
•
Y
is the result
•
X
is the normal measurement
•
m
is the user-entered constant for scale factor (
dmm.math.mxb.mfactor
)
•
b
is the user-entered constant for offset (
dmm.math.mxb.bfactor
)
If you are using relative offset measurement control (
dmm.rel.enable
), the relative offset reading is
used for
X
.
Use a setting of
dmm.MATH_PERCENT
to have:
where:
•
Percent
is the result
•
Input
is the normal measurement (if using
dmm.rel.enable
, it will be the relative offset value)
•
Reference
is user entered constant (
dmm.math.percent
)
Use a setting of
dmm.MATH_RECIPROCAL
for 1/X operation, where
X
is normal or the measurement
value with relative offset applied.
The math operation is performed before any of the enabled limit testing.