Model DMM7510 7½ Digit Graphical Sampling Multimeter Reference Manual
Section 8: TSP command reference
DMM7510-901-01 Rev. B / May 2015
8-177
dmm.measure.read()
This function makes measurements, places them in a reading buffer, and returns the last reading.
Type
TSP-Link accessible
Affected by
Where saved
Default value
Function
Yes
Usage
reading
= dmm.measure.read()
reading
= dmm.measure.read(
bufferName
)
reading
The last reading of the measurement process
bufferName
The name of the reading buffer, which may be a default buffer (
defbuffer1
or
defbuffer2
) or a user-defined buffer; if no buffer is defined, it defaults to
defbuffer1
Details
This command initiates measurements using the present function setting, stores the readings in a
reading buffer, and returns the last reading.
The
dmm.measure.count
attribute determines how many measurements are performed.
When you use a reading buffer with a command or action that makes multiple readings, all readings
are available in the reading buffer. However, only the last reading is returned as a reading with the
command.
If you define a specific reading buffer, the reading buffer must exist before you make the
measurement.
Example
voltMeasBuffer = buffer.make(10000)
dmm.measure.func = dmm.FUNC_DC_VOLTAGE
print(dmm.measure.read(voltMeasBuffer))
Create a buffer named
voltMeasBuffer
. Set
the instrument to measure voltage.
Make a measurement that is stored in the
voltMeasBuffer
and is also printed.
Also see
(on page 8-18)
(on page 8-109)
trigger.model.load() — SimpleLoop
(on page 8-299)