![background image](http://html2.mh-extra.com/html/keithley/2657a/2657a_reference-manual_4007750329.webp)
Section 7: TSP command reference
Model 2657A High Power System SourceMeter® Instrument Reference Manual
7-16
2657A-901-01 Rev. B/December 2012
Also see
Bit manipulation and logic operations
(on page 5-3)
bufferVar.appendmode
This attribute sets the state of the reading buffer's append mode.
Type
TSP-Link accessible
Affected by
Where saved
Default value
Attribute (RW)
Yes
Not applicable
See
Details
0
(disabled)
Usage
state
=
bufferVar
.appendmode
bufferVar
.appendmode =
state
state
The reading buffer append mode; set to one of the following:
•
0
: Append mode off; new measurement data overwrites the previous buffer content
•
1
: Append mode on; appends new measurement data to the present buffer content
bufferVar
The reading buffer; can be a dynamically allocated user-defined buffer or a
dedicated reading buffer
Details
Assigning a value to this attribute enables or disables the buffer append mode. This value can only be changed
with an empty buffer. Use
bufferVar
.clear()
to empty the buffer.
For dedicated reading buffers, all buffer attributes are saved to nonvolatile memory only when the reading buffer
is saved to nonvolatile memory.
If the append mode is set to
0
, any stored readings in the buffer are cleared before new ones are stored. If
append mode is set to
1
, any stored readings remain in the buffer and new readings are added to the buffer after
the stored readings.
With append mode on, the first new measurement is stored at
rb[
n
+1]
, where
n
is the number of readings
stored in buffer
rb
.
Example
buffer1.appendmode = 1
Append new readings to contents of the
reading buffer named
buffer1
.
Also see
(on page 7-19)
(on page 3-6)
bufferVar.basetimestamp
This attribute contains the timestamp that indicates when the first reading was stored in the buffer.
Type
TSP-Link accessible
Affected by
Where saved
Default value
Attribute (R)
Yes
Not applicable
See
Details
0
Содержание 2657A
Страница 3: ......