![Tektronix Keithley SourceMeter 2470 Reference Manual Download Page 676](http://html1.mh-extra.com/html/tektronix/keithley-sourcemeter-2470/keithley-sourcemeter-2470_reference-manual_1078034676.webp)
Section 14: TSP command reference
2470 High Voltage SourceMeter Instrument Reference Manual
14-36
2470-901-01 Rev. A /
May
2019
bufferVar.startindex
This attribute indicates the starting index in a reading buffer.
Type
TSP-Link accessible
Affected by
Where saved
Default value
Attribute (R)
Yes
Restore configuration
Instrument reset
Power cycle
Not applicable
Not applicable
Usage
bufferVar
.startindex =
startIndex
startIndex
Starting index of the buffer
bufferVar
The name of the reading buffer, which may be a default buffer (
defbuffer1
or
defbuffer2
) or a user-defined buffer
Details
Use this attribute to find the starting index in a reading buffer.
Example
test1 = buffer.make(100)
smu.measure.count = 6
smu.measure.read(test1)
print(test1.startindex, test1.endindex, test1.capacity)
Create a buffer named
test1
with a capacity of 100 readings.
Set the measure count to 6.
Make measurements and store them in buffer
test1
.
Get the start index, end index, and capacity of
test1
.
Output:
1, 6, 100
Also see
(on page 14-21)
(on page 14-12)
(on page 6-25)