7-6
Return to
2600AS-901-01 Rev. B / September 2008
Section 7: Reading Buffers
Series 2600A System SourceMeter® Instruments Reference Manual
A reading buffer is based on a Lua table. The measurements are accessed by ordinary array
accesses. If
rb
is a reading buffer, the first measurement is accessed as
rb[1]
and the 9th
measurement as
rb[9]
, and so on. The additional information in the table is accessed as
additional members of the table.
The load, save, and write operations for reading buffers function differently in the remote state.
From a remote command interface, you can extract data from reading buffers as the instrument
acquires the data.
Reading buffer designations
Each SMU contains two dedicated reading buffers:
•
smuX.nvbuffer1
(Buffer 1)
•
smuX.nvbuffer2
(Buffer 2)
provides an example the buffers available in the Series 2601A and the 2602A.
Table 7-1
SMU buffer example
To access the reading buffer, include the name of the SMU in the attribute. For example, the
following command would store readings from Channel A into Buffer 1:
smua.measure.overlappedi(smua.nvbuffer1)
Buffer storage control attributes
displays the attributes for buffers. Read-only attributes used to access buffer parameters
. Control examples for Channel A, Buffer 1 are shown in
, while
read-only attribute programming examples are listed in
NOTE You must clear the buffer using the
smuX.nvbufferY.clear()
command before changing buffer control attributes.
Model
Reading buffers
Channel
2601A
smua.nvbuffer1
smua.nvbuffer2
A
2602A
smua.nvbuffer1
smua.nvbuffer2
A
smub.nvbuffer1
smub.nvbuffer2
B