Model 2651A High Power System SourceMeter® Instrument Reference Manual
Section 7: Command reference
2651A-901-01 Rev. A / March 2011
7-21
bufferVar.collectsourcevalues
This attribute sets whether or not source values will be stored with the readings in the buffer.
Type
TSP-Link accessible
Affected by
Where saved
Default value
Attribute (RW)
Yes
Not applicable
Not applicable
0 (disabled)
Usage
state
=
bufferVar
.collectsourcevalues
bufferVar
.collectsourcevalues =
state
state
Source value collection status; set to one of the following:
•
0
: Source value collection disabled (off)
•
1
: Source value collection enabled (on)
bufferVar
The reading buffer; can be a dynamically allocated buffer (user-defined), or a
dedicated reading buffer (such as
smua.nvbuffer1
)
Details
Assigning a value to this attribute enables or disables the storage of source values. Reading this attribute returns
the state of source value collection. This value can only be changed with an empty buffer. Empty the buffer using
the
bufferVar
.clear()
function.
When on, source values will be stored with readings in the buffer. This requires four extra bytes of storage per
reading. Turning on additional collection items, such as source values (this attribute) and timestamps, decreases
the capacity of a dedicated reading buffer (for example,
smua.nvbuffer1
), but does not change the capacity
of a user-defined dynamically allocated buffer.
This value, off or on, can only be changed when the buffer is empty. Empty the buffer using the
bufferVar
.clear()
function.
Example
smua.nvbuffer1.collectsourcevalues = 1
Include source values with readings for
dedicated reading buffer 1.
Also see
(on page 7-19)
(on page 7-201)
(on page 7-238)
(on page 3-6)
bufferVar.collecttimestamps
This attribute sets whether or not timestamp values will be stored with the readings in the buffer.
Type
TSP-Link accessible
Affected by
Where saved
Default value
Attribute (RW)
Yes
Not applicable
Not applicable
0 (disabled)