Smu.measure.read() - Keithley 2450 Reference Manual

Interactive sourcemeter instrument
Table of Contents

Advertisement

Model 2450 Interactive SourceMeter® Instrument Reference Manual

smu.measure.read()

This function makes a measurement and returns the reading.
Type
TSP-Link accessible
Function
Yes
Usage
reading = smu.measure.read()
reading = smu.measure.read(bufferName)
reading
bufferName
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))
Also see
buffer.make()
Reading buffers
smu.measure.count
smu.measure.unit
trigger.model.load() — Simple Loop
2450-901-01 Rev. B/September 2013
Affected by
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
(on page 8-11)
(on page 3-10)
(on page 8-97)
(on page 8-125)
(on page 8-191)
Section 8: TSP command reference
Where saved
Default value
Create a buffer named voltMeasBuffer. Set
the instrument to measure voltage.
Make reading that is stored in the
voltMeasBuffer and return a measurement.
8-119

Advertisement

Table of Contents
loading

Table of Contents