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
dmm.math.percent = 1250
Set constant for percent operation to 1250.
dmm.math.percent = dmm.measure()
Acquire the percent constant.
Example 2
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.71701, 1.25901,
1.25901, 9.27700,
3.31301
1.29201
2.45201
1.55701
Also see
(on page 11-166)
(on page 11-200)