8: TSP command reference Model 2461 Interactive SourceMeter® Instrument
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
Usage
reading = smu.digitize.read()
reading = smu.digitize.read(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 nothing is specified, the reading is stored
in
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
buffer.make() (on page 8-14)
smu.digitize.count (on page 8-107)
smu.digitize.unit (on page 8-129)
Reading buffers (on page 3-2)
trigger.model.load() — SimpleLoop (on page 8-270)