User manual
Section 13: Instrument Control Library (ICL)  Series 3700 System Switch/Multimeter Reference Manual 
13-228  3700S-901-01 Rev. C / July 2008 
ptp.portstate 
Remarks 
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) 
Example 
print(ptp.portstate) 
ptp.preferredmaster.enable() 
Function 
Indicates to 1588 if this unit wants to be a master (if all other qualifiers are equal). 
NOTE: This value is not persisted through a power cycle. 
Usage 
ptp.preferredmaster.enable [0|1|ptp.ON|ptp.OFF] 
ptp.ON (1) 
ptp.OFF (0) 
Example 
ptp.preferredmaster.enable=1 
print(ptp.preferredmaster.enable) 
ptp.subdomain 
Attribute 
Only instruments in the same subdomain will interact with each other (from a 1588 
point of view). 
Usage 
ptp.subdomain = [any 5 character identifier] 
subdomain: a qualifier used to group instruments together. The default setting is 
_DFLT. 
Remarks 
ptp.subdomain does not take effect until 1588 is restarted (generally using a power 
cycle). 
Example 
ptp.subdomain='_DFLT' 
print(ptp.subdomain) 
ptp.synchronized 
Attribute 
Read-only value that indicates if the 1588 engine is in MASTER or SLAVE state. It 
does NOT indicate the PLL is settled. 
Usage 
ptp.synchronized 
Example 
print(ptp.synchronized) 










