Section 14: TSP command reference
2470 High Voltage SourceMeter Instrument Reference Manual
14-12
2470-901-01 Rev. A /
May
2019
Reset the instrument.
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
1.7238695542e-05
Also see
(on page 14-9)
(on page 14-12)
(on page 14-18)
(on page 14-99)
(on page 14-100)
(on page 6-25)
buffer.make()
This function creates a user-defined reading buffer.
Type
TSP-Link accessible
Affected by
Where saved
Default value
Function
Yes
Usage
bufferVar =
buffer.make(
bufferSize
)
bufferVar =
buffer.make(
bufferSize
,
style)
bufferVar
The name of the buffer
bufferSize
The maximum number of readings that can be stored in
bufferVar
; minimum is
10
style
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