Model 2461 Interactive SourceMeter® Instrument Reference Manual
Section 8: TSP command reference
2461-901-01 A/November 2015
8-167
Example
smu.source.func = smu.FUNC_DC_CURRENT
smu.measure.func = smu.FUNC_DC_VOLTAGE
smu.measure.range = 0.5
Select the measurement function to be voltage.
Instrument selects the 2 V measurement range.
Also see
(on page 2-124)
(on page 8-131)
smu.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
= smu.measure.read()
reading
= smu.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 function makes a measurement using the present function setting, stores the reading in a
reading buffer, and returns the last reading.
The
smu.measure.count
attribute determines how many measurements are performed. You can
also use the trigger model Simple Loop.
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.
To make a power reading, use the
smu.measure.unit
command and set the units to
smu.UNIT_WATT
for the voltage or current measurement function.