
Section 8: TSP command reference
Model 2450 Interactive SourceMeter® Instrument Reference Manual
8-18
2450-901-01 Rev. B/September 2013
bufferVar.dates
This attribute contains the dates of readings 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 between 1 and the number of readings in
the buffer; use the
bufferVar.
n
command to determine the number of readings
in the buffer
Details
This attribute contains the dates of readings stored in the reading buffer.
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:
03/01/2013
Prints the dates for readings 1 through the
last reading in the buffer.
Example output:
03/01/2013, 03/01/2013,
03/01/2013
Also see
(on page 8-9)
(on page 8-11)
(on page 8-17)
(on page 8-77)
(on page 8-78)
(on page 3-10)
(on page 3-27)