System SourceMeter® Instrument Reference Manual Section 7:
2600BS-901-01 Rev. B / May 2013 7-119
Details
This attribute specifies the LAN subnet mask that will be used when the manual configuration method is used to
configure the LAN. This setting is ignored when DLLA or DHCP is used.
This attribute does not indicate the actual setting presently in effect. Use the lan.status.subnetmask
attribute to determine the present operating state of the LAN.
Example
print(lan.config.subnetmask)
Outputs the LAN subnet mask, such as:
Also see
lan.restoredefaults() (on page 7-121)
lan.status.subnetmask (on page 7-127)
lan.linktimeout
This attribute contains the LAN link timeout period.
Type TSP-Link accessible Affected by Where saved Default value
Usage
timeout = lan.linktimeout
lan.linktimeout = timeout
The LAN link monitor time-out period (in seconds)
Details
You must enable the command lan.autoconnect before you can use this attribute.
The timeout value represents the amount of time that passes before the instrument disconnects from the LAN
due to the loss of the LAN link integrity.
The LAN interface does not disconnect if the connection to the LAN is reestablished before the timeout value
expires.
If the LAN link integrity is not restored before the timeout value expires, the instrument begins to monitor for a
new connection.
Example
Outputs the present LAN link timeout setting.
Also see
lan.autoconnect (on page 7-112)
lan.restoredefaults() (on page 7-121)