Section 14: TSP command reference
2470 High Voltage SourceMeter Instrument Reference Manual
14-40
2470-901-01 Rev. A /
May
2019
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/2018 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/2018 14:46:07.714614838
03/01/2018 14:46:08.100468838
03/01/2018 14:46:08.487631838
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)