Model 2461 Interactive SourceMeter® Instrument Reference Manual
Section 8: TSP command reference
2461-901-01 A/November 2015
8-121
smu.digitize.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
Attribute (RW)
Yes
Restore configuration
Instrument reset
Power cycle
Measure configuration list
Configuration script
Measure configuration list
0
Usage
offsetFactor
= smu.digitize.math.mxb.bfactor
smu.digitize.math.mxb.bfactor =
offsetFactor
offsetFactor
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 relative
offset applied)
•
b
is the user-defined constant for the offset factor
Example
smu.digitize.func = smu.FUNC_DIGITIZE_CURRENT
smu.digitize.math.format = smu.MATH_MXB
smu.digitize.math.mxb.mfactor = 0.80
smu.digitize.math.mxb.bfactor = 42
smu.digitize.math.enable = smu.ON
Set the digitize function to digitize current.
Set the scale factor for the mx +b operation
to 0.80.
Set the offset factor to 42.
Enable the math function.
Also see
Calculations that you can apply to measurements
(on page 3-82)
(on page 8-119)
(on page 8-120)
(on page 8-122)