8: TSP command reference Model 2461 Interactive SourceMeter® Instrument
8-168 2461-901-01 A/November 2015
Example
voltMeasBuffer = buffer.make(10000)
smu.measure.func = smu.FUNC_DC_VOLTAGE
print(smu.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
buffer.make() (on page 8-14)
Reading buffers (on page 3-2)
smu.measure.count (on page 8-143)
smu.measure.unit (on page 8-173)
trigger.model.load() — SimpleLoop (on page 8-270)
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.