Ptp.time(); Ptp.utcoffset - Keithley 3700A Series Reference Manual

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

Advertisement

Series 3700A System Switch/Multimeter Reference Manual

ptp.time()

This function is a read-only string that returns the PTP time in seconds and fractional seconds.
Type
TSP-Link accessible
Function
Yes
Usage
ptp.time()
Example
sec,fraction=ptp.time()
print(sec+fraction)
Also see
Not applicable

ptp.utcoffset

This attribute describes the offset, in seconds, between UTC and PTP.
Type
TSP-Link accessible
Attribute (RW)
Yes
Usage
value = ptp.utcoffset
ptp.utcoffset = value
value
Details
If the instrument is a subordinate, the ptp.utcoffset value is from the master. If the value is from
the master, the setting is overwritten on the next synchronization. The Series 3700A does not keep
track of this value through a power cycle (that is, it defaults to 0 if the 3700 is the master). The
ptp.utcoffset is only non-zero if the Series 3700A communicates to a master clock that is aware
of the difference between PTP and UTC time.
You can only write to this command if the Series 3700A is the master. If the Series 3700A is not the
master, an error is generated when you try to write to the Series 3700A.
The Series 3700A is not time-zone aware, so UTC time is presented as the local time.
UTC Time = PTP Time – UTC Offset
Example
ptp.utcoffset=33
print(ptp.utcoffset)
Also see
Not applicable
3700AS-901-01 Rev. D/June 2018
Affected by
Affected by
See Details
The offset in seconds
Section 11: TSP command reference
Where saved
Default value
Output:
1.306440045e+09
Where saved
Default value
Nonvolatile memory
See Details
Sets the UTC offset to 33 seconds.
Output:
3.300000000e+01
11-307

Advertisement

Table of Contents
loading

Table of Contents