Time And Date Values - Keithley 3700 series Reference Manual

System switch/multimeter
Hide thumbs Also See for 3700 series:
Table of Contents

Advertisement

Section 6: Buffer: Data Storage and Retrieval
Recall attribute
relativetimestamps
statuses
times
timestamp
fractional
seconds
units
Example to access recall attributes
To see seconds, nanoseconds, and relativetimestamps for entry number 2 and 3 in buffer
"mybuffer:"
mybuffer2.collecttimestamps
printbuffer(2,3, mybuffer2.seconds)
printbuffer(2,3, mybuffer2.nanoseconds)
printbuffer(2,3, mybuffer2.relativetimestamps)

Time and date values

Time and date values are represented as a number of seconds UTC 12:00 a.m. Jan. 1, 1970.
The os.time() returns values in this format. Use os.date() to return values in month, day,
year, hour, minute format, or to access the timestamp table.
6-8
Series 3700 System Switch/Multimeter Reference Manual
Description
An array (Lua table) of timestamps, in seconds, of when each reading
occurred relative to the timestamp of reading buffer entry number 1.
These are equal to the time lapsed specific for each reading since the
first reading was stored in the buffer. Therefore, getting the relative
timestamp for entry number 1 in the buffer will equal 0.
An array (a Lua table) of status values for all of the readings in the
buffer. The status values are floating-point numbers that encode the
status value into a floating-point value (see Table 7-6).
An array (a Lua table) of times, indicating the time of the reading
formatted in hour, minute and second.
An array (a Lua table) of timestamps, indicating the timestamp of the
reading formatted in month, day, year, hour, minute, second, and
fractional second.
An array (a Lua table) of the fractional portion of the timestamps, in
seconds, of when each reading occurred. These are absolute fractional
times.
An array (a Lua table) of the seconds portion of the timestamp of when
the reading at rb[1] was stored, in seconds. These seconds are
absolute and in UTC format.
An array (Lua table) of the unit of measure stored with readings in the
buffer. Units may be designated as one of the following: ‗Volts AC',
‗Volts DC', ‗Amps AC', ‗Amps DC', ‗dB VAC', ‗dB VDC', ‗Ohms 2wire',
‗Ohms 4wire', ‗Ohms ComSide', ‗Fahrenheit', ‗Kelvin', ‗Celsius', ‗Hertz',
‗Seconds' and ‗Continuity'.
= 1
Document Number: 3700S-901-01 Rev. A / August 2007

Advertisement

Table of Contents
loading

Table of Contents