Interactive SourceMeter® Instrument Reference Manual Section 8:
2450-901-01 Rev. B/September 2013 8-119
smu.measure.read()
This function makes a measurement and returns the reading.
Type TSP-Link accessible
Affected by Where saved Default value
Usage
reading = smu.measure.read()
reading = smu.measure.read(bufferName)
The last reading of the measurement process
The name of the buffer where the reading is stored; if nothing is specified, the
reading is stored in defbuffer1
Details
This 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 a reading buffer is used with a command or action that involves taking 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.
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 reading that is stored in the
voltMeasBuffer and return a measurement.
Also see
buffer.make() (on page 8-11)
Reading buffers (on page 3-10)
smu.measure.count (on page 8-97)
smu.measure.unit (on page 8-125)
trigger.model.load() — Simple Loop (on page 8-191)