Series 3700A System Switch/Multimeter Reference Manual
Section 11: TSP command reference
3700AS-901-01 Rev. D/June 2018
11-305
Also see
Not applicable
ptp.enable
This attribute enables or disables the precision time protocol (PTP) described in IEEE-1588 on the Series 3700A.
Type
TSP-Link accessible
Affected by
Where saved
Default value
Attribute (RW)
Yes
Not applicable
Nonvolatile memory
0 (ptp.OFF)
Usage
state
= ptp.enable
ptp.enable =
state
state
Disable the ptp protocol:
ptp.OFF
or
0
Enable the ptp protocol:
ptp.ON
or
1
Details
From the factory, this attribute is disabled (
ptp.OFF
). After setting this attribute, it is saved in
nonvolatile memory, and that setting value is recalled the next time the instrument is powered on.
Example
ptp.enable=1
print(ptp.enable)
Output:
1.00000
Also see
Not applicable
ptp.portstate
This attribute is a read-only value that indicates the state of the IEEE-1588 precision time protocol (PTP).
Type
TSP-Link accessible
Affected by
Where saved
Default value
Attribute (R)
Yes
Never
Not applicable
Not applicable
Usage
state
= ptp.portstate
state
ptp.INITIALIZING (0)
ptp.FAULTY (1)
ptp.DISABLE (2)
ptp.LISTENING (3)
ptp.PRE_MASTER (4)
ptp.MASTER (5)
ptp.PASSIVE (6)
ptp.UNCALIBRATED (7)
ptp.SLAVE (8)
ptp.UNKNOWN (9)