8: TSP command reference Model DMM7510 7½ Digit Graphical Sampling Multimeter
8-178 DMM7510-901-01 Rev. B / May 2015
dmm.measure.readwithtime()
This function initiates measurements and returns the last actual measurement and time information in UTC format
without using the trigger model.
Type TSP-Link accessible
Affected by Where saved Default value
Usage
reading, seconds, fractional = dmm.measure.readwithtime()
dmm.measure.readwithtime(bufferName)
The last reading of the measurement process
The name of the reading buffer, which may be a default buffer (defbuffer1 or
defbuffer2) or a user-defined buffer; if no buffer is specified, this parameter
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
print(dmm.measure.readwithtime())
Print the last measurement and time information in UTC format, which will look similar to:
-1.405293589829e-11 1400904629 0.1950935
Also see
dmm.digitize.readwithtime() (on page 8-110)
dmm.measure.count (on page 8-145)
trigger.model.load() — SimpleLoop (on page 8-299)