Keithley 3700 series Reference Manual page 100

System switch/multimeter
Hide thumbs Also See for 3700 series:
Table of Contents

Advertisement

Section 6: Buffer: Data Storage and Retrieval
Attribute
basetimefractional
basetimeseconds
capacity
n
timestamps
timestampresolution
For example, the number of readings the reading buffer can store is accessed as
rb.capacity.
Buffer programming examples
Refer to the following for buffer control programming examples. In the example, the buffer is
named "readingbuffer."
NOTE
Command
readingbuffer.collectchannels = 1
readingbuffer.appendmode = 1
readingbuffer.collecttimestamps = 0
Refer to the following for buffer read-only attribute programming examples. In the example, the
buffer is named "readingbuffer."
Command
number = readingbuffer.n
buffer_size = readingbuffer.capacity
Buffer reading attributes
Attributes that control which elements are recalled from the buffer are listed in the following
table. To access specific elements, append the desired attribute to the buffer designation.
For example, the following command line returns 100 readings from "readingbuffer1:"
printbuffer(1, 100, readingbuffer1.readings)
6-6
Description
The fractional portion of the timestamp of when the reading at rb[1] was
stored in the reading buffer (in seconds).
The whole seconds portion of the timestamp of when the reading at rb[1]
was stored in the buffer (in seconds).
The total number of readings that can be stored in the reading buffer.
The number of readings presently stored in the reading buffer.
An array (Lua table) of timestamps, in seconds, of when each reading
occurred. These can be compared to the basetimefractional for the buffer for
time lapsed.
The timestamp resolution, in seconds. When the buffer is created, its initial
resolution is 1e-9 seconds.
You must clear the buffer using the readingbuffer.clear() command before
changing buffer control attributes.
Series 3700 System Switch/Multimeter Reference Manual
Description
Enable channel storage.
Enable buffer append mode.
Disable timestamp storage.
Description
Request number of readings in buffer.
Request buffer size.
Document Number: 3700S-901-01 Rev. A / August 2007

Advertisement

Table of Contents
loading

Table of Contents