Model 2651A High Power System SourceMeter® Instrument Reference Manual
Section 3: Functions and features
2651A-901-01 Rev. A / March 2011
3-11
Reading buffer commands
The following table summarizes commands associated with the reading buffers. See
(on page 5-1) for detailed reading buffer command information.
Reading buffer commands
Command
Description
Commands save/clear readings:
smu
X
.savebuffer(smu
X
.nvbuffer
Y
)
Saves the reading buffer to the Model 2651A.
smu
X
.nvbuffer1.clear()
Clears buffer 1.
smu
X
.nvbuffer2.clear()
Clears buffer 2.
mybuffer = smu
X
.makebuffer(
n
)
Creates a dynamically allocated buffer for
n
readings.
mybuffer = nil
Deletes the dynamically allocated buffer.
savebuffer(smu
X
.nvbuffer1,"csv",
"/usb1/mybuffer.csv")
Saves the reading buffer to the USB flash drive.
Commands to store readings:
smu
X
.measure.count =
count
The number of measurements to acquire.
smu
X
.measure.overlappedi(
rbuffer
)
Stores the current readings in buffer.
smu
X
.measure.overlappediv(
ibuffer,
vbuffer
)
Stores the current and voltage readings in respective buffers
(current and voltage are stored in separate buffers).
smu
X
.measure.overlappedp(
rbuffer
)
Stores the power readings in buffer.
smu
X
.measure.overlappedr(
rbuffer
)
Stores the resistance readings in buffer.
smu
X
.measure.overlappedv(
rbuffer
)
Stores the voltage readings in buffer.
smu
X
.measure.v(
rbuffer
)
Reading buffer where voltage readings will be stored.
smu
X
.measure.i(
rbuffer
)
Reading buffer where current readings will be stored.
smu
X
.measure.iv(
ibuffer,
vbuffer
)
Stores the current and voltage readings in respective buffers
(current and voltage are stored in separate buffers).
smu
X
.measure.r(
rbuffer
)
Reading buffer where resistance readings will be stored.
smu
X
.measure.p(
rbuffer
)
Reading buffer where power readings will be stored.
smu
X
.trigger.measure.v(
rbuffer
)
Reading buffer where voltage readings will be stored.
smu
X
.trigger.measure.i(
rbuffer
)
Reading buffer where current readings will be stored.
smu
X
.trigger.measure.r(
rbuffer
)
Reading buffer where resistance readings will be stored.
smu
X
.trigger.measure.p(
rbuffer
)
Reading buffer where power readings will be stored.
smu
X
.trigger.measure.iv(
ibuffer,
vbuffer
)
Stores the current and voltage readings in respective buffers
(current and voltage are stored in separate buffers).
Commands to access readings:
printbuffer(
start_index, end_index,
st_1, st_2, ... st_n
)
Prints data from buffer subtables:
start_index
(starting index
of values to print).
end_index
(ending index of values to print).
st_1, st_2, ... st_n
(subtables from which to print each
separated by a comma).
Buffer storage control attributes
The following table contains buffer storage control attributes.