EasyManuals Logo
Home>Keithley>Measuring Instruments>2461

Keithley 2461 Reference Manual

Keithley 2461
1109 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #754 background imageLoading...
Page #754 background image
Model 2461
Interactive SourceMeter® Instrument Reference Manual Section 8:
TSP command reference
2461-901-01 A/November 2015 8-81
lan.ipconfig()
This function specifies the LAN configuration for the instrument.
Type TSP-Link accessible Affected by Where saved Default value
Function
No
Rear panel LAN reset
Nonvolatile memory
lan.MODE_AUTO
Usage
method, ipV4Address, subnetMask, gateway = lan.ipconfig()
lan.ipconfig(method)
lan.ipconfig(method, ipV4Address)
lan.ipconfig(method, ipV4Address, subnetMask)
lan.ipconfig(method, ipV4Address, subnetMask, gateway)
method
The method for configuring LAN settings; it can be one of the following
values:
lan.MODE_AUTO: The instrument automatically assigns LAN settings
lan.MODE_MANUAL: You must specify the LAN settings
ipV4Address
LAN IP address; must be a string specifying the IP address in dotted decimal
notation
subnetMask
The LAN subnet mask; must be a string in dotted decimal notation
gateway
The LAN default gateway; must be a string in dotted decimal notation
Details
This command specifies how the LAN IP address and other LAN settings are assigned. If automatic
configuration is selected, the instrument automatically determines the LAN information. When method
is automatic, 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, an error occurs.
If manual is selected, you must define the IP address. You can also assign a subnet mask, and
default gateway. The IP address, subnet mask, and default gateway must be formatted in four groups
of numbers, each separated by a decimal. If you do not specify a subnet mask or default gateway, the
previous settings are used.
Example
lan.ipconfig(lan.MODE_AUTO)
print(lan.ipconfig())
lan.ipconfig(lan.MODE_MANUAL, "192.168.0.7", "255.255.240.0", "192.168.0.3")
print(lan.ipconfig())
Set the IP configuration method to automatic. Request the IP configuration. Example output:
lan.MODE_AUTO 134.63.78.136 255.255.254.0 134.63.78.1
Set the IP configuration method to manual. Request the IP configuration. Output:
lan.MODE_MANUAL 192.168.0.7 255.255.240.0 192.168.0.3
Also see
None

Table of Contents

Other manuals for Keithley 2461

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Keithley 2461 and is the answer not in the manual?

Keithley 2461 Specifications

General IconGeneral
BrandKeithley
Model2461
CategoryMeasuring Instruments
LanguageEnglish

Related product manuals