
Section 9
:
Instrument Control Library (ICL)
Series 3700 System Switch/Multimeter Reference Manual
9-136
Document Number: 3700S-901-01 Rev. A / August 2007
lan.config.duplex
Attribute
Configures LAN duplex mode.
Usage
To read LAN duplex mode:
duplex = lan.config.duplex
To write LAN duplex mode:
lan.config.duplex = duplex
duplex:
LAN duplex setting can be one of the following values:
lan.FULL or 1: Selects full-duplex operation.
lan.HALF or 0: Selects half-duplex operation.
Remarks
This attribute selects which duplex mode will be used by the LAN interface when
lan.config.autonegotiate
(on page 9-132) is disabled. When
lan.config.autonegotiate
(on page 9-132) is enabled, this setting is ignored.
NOTE This attribute does not indicate the actual setting currently in effect. Use the
lan.status attributes to determine the current operating state of the LAN.
Also see
lan.status
Example
To display present LAN duplex mode:
print(lan.config.duplex)
lan.config.gateway
Attribute
Configures LAN default gateway address.
Usage
To read LAN gateway address:
gatewayaddress = lan.config.gateway
To write LAN gateway address:
lan.config.gateway = gatewayaddress
gatewayaddress:
LAN default gateway address.
Remarks
This attribute specifies the default gateway IP address to use when manual or DLLA
configuration methods are used to configure the LAN. This setting is ignored when
DHCP is used.
NOTE This attribute does not indicate the actual setting currently in effect. Use the
lan.status attributes to determine the current operating state of the LAN.
gatewayaddress must be a string specifying the default gateway‘s IP address
in dotted decimal notation.
Example
To display present gateway address:
print(lan.config.gateway)