
Model 2461 Interactive SourceMeter® Instrument Reference Manual
Section 3: Functions and features
2461-901-01 A/November 2015
3-15
Using SCPI commands to select a reading buffer:
To make a measurement and store the readings in a specific reading buffer, send the command:
:READ? "<bufferName>"
If you do not specify a buffer name, readings are stored in
defbuffer1
.
An alternative to sending the
:READ? "<bufferName>"
command is to send the command:
:TRACe:TRIGger "<bufferName>"
The
:TRACe:TRIGger
command stores readings in the specified reading buffer. If no buffer is
specified for the parameter,
defbuffer1
is used. To see the readings stored in the buffer after using
this command, use the
:FETCh?
command to see the last reading stored in the buffer or the
:TRACe:DATA?
command to see multiple readings from the buffer.
To specify a user-defined reading buffer, you must create the buffer first.
To select current as the measurement function, measure current, and return the readings in the
testData
reading buffer, send the following commands:
:SENSe:FUNCtion "CURRent"
:READ? "testData"
To measure current and store the readings in the
defbuffer2
reading buffer, send the following
command:
:MEASure:CURRent? "defbuffer2"
To measure voltage and store the readings in the
defbuffer2
reading buffer, send the following
command:
:MEASure:VOLTage? "defbuffer2"
To measure current and return the relative time and a reading, send the following command:
:MEASure:CURRent? "testData", REL, READ
Buffer storage is consistent whenever readings are taken. Parameters such as
REL
and
READ
only
affect what is included in the response. If you do not include parameters, the command only returns
the reading.
Using TSP commands to select a reading buffer:
To make a measurement and store the readings in a specific reading buffer, use the
smu.measure.read(
bufferName
)
function. If you do not specify a buffer when you use the
smu.measure.read()
function, readings are stored in
defbuffer1
.
To measure voltage and store the readings in the
voltMeasBuffer
, send the following commands:
smu.measure.func = smu.FUNC_DC_VOLTAGE
smu.measure.read(voltMeasBuffer)
To measure voltage, store the readings in the
voltMeasBuffer
, and print the last reading in the
buffer, send the following command:
print(smu.measure.read(voltMeasBuffer))