2470 High Voltage SourceMeter Instrument Reference Manual
Section 14: TSP command reference
2470-901-01 Rev. A /
May
2019
14-25
bufferVar.fractionalseconds
This attribute contains the fractional second portion of the timestamp of each reading 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
fractionalSec
=
bufferVar
.fractionalseconds[
N
]
fractionalSec
The fractional second portion of the timestamp to 1 ns resolution
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
This read-only attribute is an array of the fractional portion of the timestamp, in seconds, when each
reading occurred. Seconds are shown as fractions.
Example
reset()
testData = buffer.make(50)
trigger.model.load("SimpleLoop", 6, 0, testData)
trigger.model.initiate()
waitcomplete()
print(testData.fractionalseconds[1])
printbuffer(1, 6, testData.fractionalseconds)
Create a reading buffer named
testData
and make six measurements.
Print the fractional portion of the timestamp for the first reading in the buffer.
Example output:
0.647118937
Print the fractional portion of the timestamp for the first six readings in the buffer.
Example output:
0.647118937, 0.064543, 0.48196127, 0.89938724, 0.316800064, 0.734218263
Also see
(on page 14-30)
(on page 14-9)
(on page 14-12)
(on page 14-18)
(on page 14-99)
(on page 14-100)
(on page 6-25)