8: TSP command reference Model DMM7510 7½ Digit Graphical Sampling Multimeter
8-26 DMM7510-901-01 Rev. B / May 2015
bufferVar.endindex
This attribute indicates the last index in a reading buffer.
Type TSP-Link accessible Affected by Where saved Default value
Instrument reset
Usage
bufferVar.endindex = endIndex
Ending index of the buffer
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 ending index in a reading buffer.
Example
dmm.measure.count = 6
dmm.measure.read(test1)
print(test1.startindex, test1.endindex, test1.capacity)
dmm.measure.read(test1)
print(test1.startindex, test1.endindex)
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
Make six more measurements and store them in buffer test1.
Get the start index and end index of test1.
Also see
bufferVar.startindex (on page 8-36)
buffer.make() (on page 8-18)
Reading buffers (on page 3-13)
Remote buffer operation (on page 3-30)