Section 8: TSP command reference
Model 2461 Interactive SourceMeter® Instrument Reference Manual
8-124
2461-901-01 A/November 2015
smu.digitize.read()
This function makes digitize 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.digitize.read()
reading
= smu.digitize.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 nothing is specified, the reading is stored
in
defbuffer1
Details
You must set the instrument to make digitize measurements before sending this command with the
smu.digitize.func
attribute.
This command initiates measurements using the present function settings, stores the readings in a
reading buffer, and returns the last reading.
This command makes the number of digitize measurements that is set by the
smu.digitize.count
attribute.
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
voltMeasBuffer = buffer.make(10000)
smu.digitize.func =
smu.FUNC_DIGITIZE_VOLTAGE
print(smu.digitize.read(voltMeasBuffer))
Create a buffer named
voltMeasBuffer
. Set
the instrument to digitize voltage.
Make a measurement that is stored in the
voltMeasBuffer
and is also printed.
Also see
(on page 8-14)
(on page 8-107)
(on page 8-129)
(on page 3-2)
trigger.model.load() — SimpleLoop
(on page 8-270)