14: TSP command reference 2470 High Voltage SourceMeter Instrument
14-136 2470-901-01 Rev. A / May 2019
smu.measure.math.mxb.bfactor
This attribute specifies the offset, b, for the y = mx + b operation.
Type TSP-Link accessible Affected by Where saved Default value
Instrument reset
Power cycle
Measure configuration list
Function change
Measure configuration list
Usage
value = smu.measure.math.mxb.bfactor
smu.measure.math.mxb.bfactor = value
The offset for the y = mx + b operation; the valid range is −1e12 to +1e12
Details
This attribute specifies the offset (b) for an mx + b operation.
The mx + b math operation lets you manipulate normal display readings (x) mathematically based on
the 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
r
elative offset applied)
• b is the user-defined constant for the offset factor
Example
smu.measure.func = smu.FUNC_DC_VOLTAGE
smu.measure.math.format = smu.MATH_MXB
smu.measure.math.mxb.mfactor = 0.80
smu.measure.math.mxb.bfactor = 50
smu.measure.math.enable = smu.ON
Set the measurement function to voltage.
Set the math operation to mx+b.
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 4-49)
smu.measure.math.enable (on page 14-134)
smu.measure.math.mxb.mfactor (on page 14-137)