
Model 2461 Interactive SourceMeter® Instrument Reference Manual
Section 8: TSP command reference
2461-901-01 A/November 2015
8-39
Details
This attribute contains the timestamps (date, hours, minutes, seconds, and fractional seconds) of
readings stored in the reading buffer.
When using the compact buffer style, there is a very small drift between the triggering clock and the
timestamp clock, which may result in timestamp truncation and discontinuities over time. The
triggering of the measurement remains periodic based on the sample period without any apparent
discontinuities.
Example 1
reset()
testData = buffer.make(50)
trigger.model.load("SimpleLoop", 3, 0, testData)
trigger.model.initiate()
waitcomplete()
print(testData.timestamps[1])
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.
Output:
03/01/2013 14:46:07.714614838
Example 2
for x = 1, 3 do printbuffer(x, x, testData.timestamps) end
For the buffer created in Example 1, print the timestamps for the readings.
Output:
03/01/2013 14:46:07.714614838
03/01/2013 14:46:08.100468838
03/01/2013 14:46:08.487631838
Also see
(on page 8-11)
(on page 8-14)
(on page 8-19)
(on page 8-92)
(on page 8-93)
(on page 3-2)
(on page 3-23)