8: TSP command reference Model DMM7510 7½ Digit Graphical Sampling Multimeter
8-106 DMM7510-901-01 Rev. B / May 2015
dmm.digitize.math.mxb.mfactor
This attribute specifies the scale factor, m, for the y = mx + b math operation.
Type TSP-Link accessible Affected by Where saved Default value
Attribute (RW) Yes
Restore configuration
Instrument reset
Power cycle
Measure configuration list
Configuration script
Measure configuration list
1
Usage
scaleFactor = dmm.digitize.math.mxb.mfactor
dmm.digitize.math.mxb.mfactor = scaleFactor
The scale factor; the valid range is
−
+
Functions
dmm.FUNC_DIGITIZE_CURRENT
dmm.FUNC_DIGITIZE_VOLTAGE
Details
This command sets the scale factor (m) for an mx + b operation for the selected measurement
function.
The mx + b math operation lets you manipulate normal display readings (x) mathematically according
to the following calculation:
y = mx + b
Where:
• y is the displayed result
• m is a user-defined constant for the scale factor
• x is the measurement reading (if you are using a relative offset, this is the measurement with relative
offset applied)
• b is the user-defined constant for the offset factor
Example
dmm.digitize.func = dmm.FUNC_DIGITIZE_CURRENT
dmm.digitize.math.format = dmm.MATH_MXB
dmm.digitize.math.mxb.mfactor = 0.80
dmm.digitize.math.mxb.bfactor = 50
dmm.digitize.math.enable = dmm.ON
Set the measurement function to digitize
current.
Set the scale factor for the mx +b operation
to 0.80.
Set the offset factor to 50.
Enable the math function.
Also see
Calculations that you can apply to measurements (on page 3-7)
dmm.digitize.math.enable (on page 8-102)
dmm.digitize.math.format (on page 8-103)
dmm.digitize.math.mxb.bfactor (on page 8-105)
dmm.measure.math.mxb.mfactor (on page 8-170)