Section 8: TSP command reference
Model DMM7510 7½ Digit Graphical Sampling Multimeter Reference Manual
8-42
DMM7510-901-01 Rev. B / May 2015
Details
This attribute contains the unit of measure that is stored with readings in the reading buffer.
Example
reset()
testData = buffer.make(50)
testData.fillmode = buffer.FILL_CONTINUOUS
dmm.measure.func = dmm.FUNC_DC_CURRENT
trigger.model.load("SimpleLoop", 3, 0,
testData)
trigger.model.initiate()
waitcomplete()
printbuffer(1, testData.n, testData.units)
dmm.measure.func = dmm.FUNC_DC_VOLTAGE
trigger.model.initiate()
waitcomplete()
printbuffer(1, testData.n, testData.units)
Create a reading buffer named
testData
,
configure the instrument to make three
measurements, and store the readings in
the buffer.
Set the buffer to fill continuously.
Set the measure function to current.
Make three readings.
Print the units for the readings.
Output:
Amp DC, Amp DC, Amp DC
Set the measure function to voltage.
Make three readings.
Output:
Volt DC, Volt DC, Volt DC
Also see
(on page 8-16)
(on page 8-18)
(on page 8-24)
(on page 8-231)
(on page 8-232)
(on page 3-13)
(on page 3-30)