Section 11: TSP command reference Series 3700A System Switch/Multimeter Reference Manual
11-204 3700AS-901-01 Rev. D/June 2018
Details
This is not available for "nofunction". If command is queried when "nofunction" is selected,
nil is returned. If it is written when "nofunction" is selected, an error is returned.
This attribute represents the constant to use for percent when dmm.math.format =
dmm.MATH_PERCENT.
Example 1
Set constant for percent operation to 1250.
dmm.math.percent = dmm.measure()
Acquire the percent constant.
dmm.func = "dcvolts"
dmm.reset("active")
dmm.math.format = dmm.MATH_PERCENT
dmm.measurecount = 1
dmm.math.percent = dmm.measure()
dmm.math.enable = dmm.ON
dmm.measurecount = 5
MathBuffer = dmm.makebuffer(100)
dmm.measure(MathBuffer)
printbuffer(1, MathBuffer.n,
MathBuffer)
dmm.measurecount = 1
for x = 1, 3 do
print(dmm.measure())
end
Configure the DMM for DC volts and reset the DC volts
function to the default settings.
Set math format to percent.
Acquire 1 reading to use as the relative percent value.
Take 5 readings with percent math enabled and store
them in a buffer called MathBuffer that can store 100
readings.
Take three additional readings without using the reading
buffer.
Sample output assuming no load was connected to DMM:
2.717115286e+01, 1.259150986e+01,
1.259150986e+01, 9.277954635e+00,
3.313555227e+01
1.292338066e+01
2.452080209e+01
1.557421984e+01
Also see
Math calculations (on page 4-49)
dmm.configure.recall() (on page 11-165)
dmm.configure.set() (on page 11-166)
dmm.math.format (on page 11-200)