Section 14: TSP command reference
2470 High Voltage SourceMeter Instrument Reference Manual
14-20
2470-901-01 Rev. A /
May
2019
bufferVar.dates
This attribute contains the dates of readings that are stored in the 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
date
=
bufferVar
.dates[
N
]
date
The date of readings stored in
bufferVar
element
N
bufferVar
The name of the reading buffer, which may be a default buffer (
defbuffer1
or
defbuffer2
) or a user-defined buffer
N
The reading number
N
; can be any value from 1 to the number of readings in the
buffer; use the
bufferVar.
n
command to determine the number of readings in the
buffer
Details
The dates are formatted as month, day, year.
This is not available if the reading buffer style is set to compact.
Example
reset()
testData = buffer.make(50)
trigger.model.load("SimpleLoop", 3, 1, testData)
trigger.model.initiate()
waitcomplete()
print(testData.dates[1])
printbuffer(1, testData.n, testData.dates)
Create a reading buffer named
testData
,
configure the instrument to make three
measurements, and store the readings in
the buffer.
Print the first reading date.
Example output:
11/27/2017
Prints the dates for readings 1 through the
last reading in the buffer.
Example output:
11/27/2017, 11/27/2017,
11/27/2017
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)