Icl Lan Commands - Keithley 3700 series Reference Manual

System switch/multimeter
Hide thumbs Also See for 3700 series:
Table of Contents

Advertisement

Section 9: Instrument Control Library (ICL)

ICL LAN commands

Use the functions and attribute in this group to set/read the LAN triggers.
lan.applysettings
Function
Usage
Remarks
Example
lan.config.autonegotiate
Attribute
Usage
Remarks
Details
Example
9-132
Reinitializes the LAN interface with new settings.
lan.applysettings()
This function disconnects from the LAN interface and reinitializes the LAN with the
current configuration settings. This function initiates an overlapped operation. LAN
configuration could be a lengthy operation. Although the function returns immediately,
the LAN initialization will continue to run in the background.
NOTE When this command is executed, all existing LAN connections to the
instrument will be disconnected.
NOTE Even though the LAN configuration settings may not have changed since the
LAN was last connected, new settings may take effect due to the dynamic
nature of DHCP or DLLA configuration.
To reinitialize the LAN interface with new settings:
lan.applysettings()
Configures LAN auto-negotiation state.
To read the auto-negotiation state:
state = lan.config.autonegotiate
To write the auto-negotiation state:
lan.config.autonegotiate = state
state: LAN auto-negotiation state. state may be one of the following values:
lan.ENABLE or 1: Enables auto-negotiation.
lan.DISABLE or 0: Disables auto-negotiation.
This attribute sets the LAN auto-negotiation state. When enabled, the unit will select
the best options for Ethernet speed and duplex. By default, this feature is enabled.
Changing this setting from lan.DISABLE to lan.ENABLE will cause the unit to
immediately negotiate new speed and duplex settings. Changing this setting from
lan.ENABLE to lan.DISABLE will cause the unit to immediately use the manually
configured speed and duplex settings.
To enable and view LAN auto-negotiation:
lan.config.autonegotiate = lan.ENABLE
print(lan.config.autonegotiate)
 1.000000000e+000
Series 3700 System Switch/Multimeter Reference Manual
Document Number: 3700S-901-01 Rev. A / August 2007

Advertisement

Table of Contents
loading

Table of Contents