Buffervar.seconds - Keithley 2461 Reference Manual

1kw pulse mode interactive sourcemeter instrument
Table of Contents

Advertisement

Model 2461 Interactive SourceMeter® Instrument Reference Manual

bufferVar.seconds

This attribute contains the timestamp of a reading in seconds, in UTC format.
Type
TSP-Link accessible
Attribute (R)
Yes
Usage
nonFracSeconds = bufferVar.seconds[N]
nonFracSeconds
bufferVar
N
Details
This attribute contains the nonfractional seconds portion of the timestamp when the reading was
stored in Coordinated Universal Time (UTC) format.
The nonfractional seconds portion of the timestamp gives the lowest resolution down to 1 second. To
access additional resolution of a timestamp, see bufferVar.fractionalseconds.
Example
reset()
testData = buffer.make(50)
trigger.model.load("SimpleLoop", 6, 0,
testData)
trigger.model.initiate()
waitcomplete()
printbuffer(1, 6, testData.seconds)
Also see
bufferVar.fractionalseconds
bufferVar.relativetimestamps
2461-901-01 A/November 2015
Affected by
Restore configuration
Instrument reset
Power cycle
The nonfractional seconds portion of the timestamp when the reading was stored
The name of the reading buffer, which may be a default buffer (defbuffer1 or
defbuffer2) or a user-defined buffer
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
(on page 8-24)
(on page 8-28)
Section 8: TSP command reference
Where saved
Not applicable
Create a reading buffer named testData,
configure the instrument to make six
measurements, and store the readings in
the buffer.
Print the seconds portion for readings 1 to 6
in testData.
Example output:
1362261492, 1362261492,
1362261493, 1362261493,
1362261493, 1362261494
Default value
Not applicable
8-29

Advertisement

Table of Contents
loading

Table of Contents