High Voltage SourceMeter Instrument Reference Manual Section 14:
2470-901-01 Rev. A / May 2019 14-143
Also see
buffer.make() (on page 14-12)
Reading buffers (on page 6-1)
smu.measure.count (on page 14-121)
smu.measure.unit (on page 14-148)
trigger.model.load() — SimpleLoop (on page 14-224)
smu.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 = smu.measure.readwithtime()
smu.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
Details
This command initiates measurements using the present function setting, stores the readings in a
reading buffer, and returns the last reading.
The smu.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(smu.measure.readwithtime(defbuffer1))
Print the last measurement and time information from defbuffer1 in UTC format, which will look similar to:
-1.405293589829e-11 1400904629 0.1950935
Also see
smu.measure.count (on page 14-121)
trigger.model.load() — SimpleLoop (on page 14-224)