Lan.config.subnetmask - Keithley 708B Reference Manual

Switching matrix
Hide thumbs Also See for 708B:
Table of Contents

Advertisement

Models 707B and 708B Switching Matrix Reference Manual
When method is lan.AUTO, the instrument first attempts to configure the LAN settings using dynamic host
configuration protocol (DHCP). If DHCP fails, it tries dynamic link local addressing (DLLA). If DLLA fails, it uses
the manually specified settings.
When method is lan.MANUAL, only the manually specified settings are used. Neither DHCP nor DLLA are
attempted.
Example
print(lan.config.method)
Also see
lan.restoredefaults()

lan.config.subnetmask

This attribute describes the LAN subnet mask.
Type
TSP-Link accessible
Attribute (RW)
Yes
Usage
mask = lan.config.subnetmask
lan.config.subnetmask = mask
mask
Details
This attribute specifies the LAN subnet mask to use 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 currently in effect. Use the lan.status.subnetmask
attribute to determine the current operating state of the LAN.
Example
print(lan.config.subnetmask)
Also see
lan.restoredefaults()
lan.status.subnetmask
707B-901-01 Rev. A / August 2010
(on page 7-107)
Affected by
LAN restore defaults Nonvolatile memory
LAN subnet mask value string specifying the subnet mask in dotted decimal
notation
(on page 7-107)
(on page 7-114)
Returns the current method.
For example:
1.0000000e+00
Where saved
Default value
"255.255.255.0"
Returns the LAN subnet mask, such as:
255.255.255.000
Section 7: Command reference
7-105

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

707b

Table of Contents