14: TSP command reference 2470 High Voltage SourceMeter Instrument
14-12 2470-901-01 Rev. A / May 2019
Set up the SimpleLoop trigger model template to make 12 readings with a 0.001 s delay. Readings are stored
in defbuffer1.
Start the trigger model.
Assign the name stats to the table.
Get statistics for the default reading buffer named defbuffer1.
Return the number of readings, the minimum reading, maximum reading, and standard deviation. Example
output:
12
4.9435650097e-05
0.00010065840553
Also see
buffer.delete() (on page 14-9)
buffer.make() (on page 14-12)
bufferVar.clear() (on page 14-18)
print() (on page 14-99)
printbuffer() (on page 14-100)
Reading buffers (on page 6-1)
Remote buffer operation (on page 6-25)
buffer.make()
This function creates a user-defined reading buffer.
Type TSP-Link accessible
Affected by Where saved Default value
Usage
bufferVar = buffer.make(bufferSize)
bufferVar = buffer.make(bufferSize, style)
The maximum number of readings that can be stored in
bufferVar
The type of reading buffer to create:
ï‚§ Store readings with reduced accuracy (6.5 digits) with no formatting
information, 1 μs accurate timestamp, maximum approximately 20,000,000
readings: buffer.STYLE_COMPACT
ï‚§ Store readings with full accuracy with formatting, maximum approximately
5,000,000 readings: buffer.STYLE_STANDARD (default)
ï‚§ Store the same information as standard, plus additional information:
buffer.STYLE_FULL
ï‚§ Store external reading buffer data: buffer.STYLE_WRITABLE
ï‚§ Store external reading buffer data with two reading values:
buffer.STYLE_WRITABLE_FULL