Model 2461 Interactive SourceMeter® Instrument Reference Manual Section 8: TSP command reference2461-901-01 A/November 2015 8-123smu.digitize.math.percentThis attribute specifies the reference constant that is used when math operations are set to percent.Type TSP-Link accessible Affected by Where saved Default valueAttribute (RW) Yes Restore configurationInstrument resetPower cycleMeasure configuration listConfiguration scriptMeasure configuration list1Usagevalue = smu.digitize.math.percentsmu.digitize.math.percent = valuevalue The reference used when the math operation is set to percent; the range is -1e12 to+1e12DetailsThe percent math function displays measurements as percent deviation from a specified referenceconstant. The percent calculation is:Where:• 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 constantExamplesmu.digitize.func = smu.FUNC_DIGITIZE_CURRENTsmu.digitize.math.format = smu.MATH_PERCENTsmu.digitize.math.percent = 42smu.digitize.math.enable = smu.ONSet the measurement function to digitizecurrent.Set the math operations to percent.Set the percentage value to 42.Enable math operations.Also seeCalculations that you can apply to measurements (on page 3-82)smu.digitize.math.enable (on page 8-119)smu.digitize.math.format (on page 8-120)