Keithley SourceMeter 2600 Series Reference Manual page 198

Table of Contents

Advertisement

7-6
Buffer (Data Store)
Reading buffers
Readings can be obtained in multiple ways including synchronous or overlapped.
Furthermore, the routines that make single point measurements can be
configured to make multiple measurements where one would ordinarily be made.
The measured value is not the only component of a reading. The measurement
status (e.g. "In Compliance" or "Overranged") is also an element of data
associated with a particular reading.
All routines that return measurements can return them as reading buffers.
Overlapped measurements are always returned in a reading buffer. Synchronous
measurements return either a single-point measurement or a buffer reading. The
more advanced user can access additional information stored in the reading
buffer.
A reading buffer is based on a LUA table. The measurements themselves are
accessed by ordinary array access. If rb is a reading buffer, the first measurement
is accessed as rb[1] and the 9th measurement as rb[9], etc. The additional
information in the table is accessed as additional members of the table.
Reading buffer designations
There are two non-volatile reading buffers designated as smuX.nvbuffer1
(Buffer 1) and smuX.nvbuffer2 (Buffer 2). To access the buffer, simply include
the buffer attribute in the respective command. For example, the following
command would store current readings from Channel A into Buffer 1:
smua.measure.overlappedi(smua.nvbuffer1)
Buffer storage control attributes
Buffer storage attributes are summarized in
to access buffer parameters are listed in
stored in the buffer, simply assign the desired attribute to the specific buffer.
Control examples for Channel A, Buffer 1 are shown in
attribute programming examples are listed in
2600S-901-01 Rev. A / May 2006
Series 2600 System SourceMeters Reference Manual
NOTE You must clear the buffer using the
smuX.nvbufferX.clear() command
before changing buffer control at-
tributes.
Return to
Section 7 topics
Table
7-2. Read-only attributes used
Table
7-3. To control which elements are
Table
7-4, while read-only
Table
7-5.

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents