Series 2600B System SourceMeter® Instrument Reference Manual
Section 7: TSP command reference
2600BS-901-01 Rev. B / May 2013
7-15
Also see
Bit manipulation and logic operations
(on page 5-3)
bit.clear()
(on page 7-10)
bit.get()
(on page 7-10)
bit.set()
(on page 7-12)
bit.test()
(on page 7-13)
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
bufferVar.clear()
(on page 7-18)
Reading buffers
(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
Содержание System SourceMeter 2601B
Страница 841: ......