14: TSP command reference 2470 High Voltage SourceMeter Instrument
14-138 2470-901-01 Rev. A / May 2019
smu.measure.math.percent
This attribute specifies the reference constant that is used when math operations are set to percent.
Type TSP-Link accessible Affected by Where saved Default value
Attribute (RW) Yes Restore configuration
Instrument reset
Power cycle
Measure configuration list
Function change
Configuration script
Measure configuration list
1
Usage
value = smu.measure.math.percent
smu.measure.math.percent = value
The reference used when the math operation is set to percent; the range is -1e12 to
+1e12
Details
This is the constant that is used when the math operation is set to percent for the selected
measurement function.
The percent math function displays measurements as percent deviation from a specified reference
constant. The percent calculation is:
W
here:
ï‚§ Percent is the result
ï‚§ Input is the measurement (if relative offset is being used, this is the relative offset value)
ï‚§ Reference is the user-specified constant
Example
smu.measure.func = smu.FUNC_DC_VOLTAGE
smu.measure.math.format = smu.MATH_PERCENT
smu.measure.math.percent = 50
smu.measure.math.enable = smu.ON
Set the measurement function to voltage.
Set the math operations to percent.
Set the percentage value to 50 for voltage
measurements.
Also see
Calculations that you can apply to measurements (on page 4-49)
smu.measure.math.enable (on page 14-134)
smu.measure.math.format (on page 14-135)