
Model 2461 Interactive SourceMeter® Instrument Reference Manual
Section 8: TSP command reference
2461-901-01 A/November 2015
8-125
smu.digitize.readwithtime()
This function initiates digitize measurements and returns the last actual measurement and time information in
UTC format without using the trigger mode.
Type
TSP-Link accessible
Affected by
Where saved
Default value
Function
Yes
Usage
reading, seconds, fractional
= smu.digitize.readwithtime()
reading, seconds, fractional
= smu.digitize.readwithtime(
bufferName
)
reading
The last reading of the measurement process
seconds
Seconds in UTC format
fractional
Fractional seconds
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 specified, this parameter
defaults to
defbuffer1
Details
This command initiates digitize measurements using the present function settings, stores the
readings in a reading buffer, and returns the last reading.
The
smu.digitize.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.digitize.readwithtime())
Print the last digitize measurement and time information in
UTC format, which will look similar to:
-0.0003882925875
1415795836
0.946164546
Also see
(on page 8-107)
trigger.model.load() — SimpleLoop
(on page 8-270)