SYSTem Subsystem - I/O Configuration

The SYSTem subsystem includes general instrument configuration commands, I/O locking commands, license management commands, and remote interface configuration commands (listed below).

Command Summary

SYSTem:COMMunicate:ENABle

SYSTem:COMMunicate:GPIB:ADDRess

SYSTem:COMMunicate:LAN:CONTrol?

SYSTem:COMMunicate:LAN:DHCP

SYSTem:COMMunicate:LAN:DNS[{1|2}]

SYSTem:COMMunicate:LAN:DOMain?

SYSTem:COMMunicate:LAN:GATeway

SYSTem:COMMunicate:LAN:HOSTname

SYSTem:COMMunicate:LAN:IPADdress

SYSTem:COMMunicate:LAN:MAC?

SYSTem:COMMunicate:LAN:SMASk

SYSTem:COMMunicate:LAN:TELNet:PROMpt

SYSTem:COMMunicate:LAN:TELNet:WMESsage

SYSTem:COMMunicate:LAN:UPDate

SYSTem:COMMunicate:LAN:WINS[{1|2}]

SYSTem:USB:HOST:ENABle

SYSTem:COMMunicate:ENABle {ON|1|OFF|0}, <interface>
SYSTem:COMMunicate:ENABle? <interface>

Disables or enables the GPIB, USB, or LAN remote interface. Also disables or enables available remote services such as Sockets, HiSLIP, Telnet, VXI11, and the built-in Web Interface.

Note

The GPIB interface is an optional feature. See Models and Options for details.

Parameter Typical Return
{ON|1|OFF|0}. Default: ON. for all interfaces 0 (OFF) or 1 (ON)
<interface>: {GPIB|HISLip|USB|LAN|SOCKets|TELNet|VXI11|WEB|USBMtp|USBHost}

Disable the USB interface:

SYST:COMM:ENAB OFF,USB

SYSTem:COMMunicate:GPIB:ADDRess <address>
SYSTem:COMMunicate:GPIB:ADDRess?

Assigns instrument's GPIB (IEEE-488) address, which is displayed at power-on. Each device on the GPIB interface must have a unique address.

Note

The GPIB interface is an optional feature. See Models and Options for details.

Parameter Typical Return
0 to 30, default 22 +15
Set GPIB address to 15:

SYST:COMM:GPIB:ADDR 15

SYSTem:COMMunicate:LAN:CONTrol?

Reads the initial Control connection port number for Sockets communications. This connection is used to send and receive commands and queries.

Parameter Typical Return
(none) 5000 (0 if the interface does not support sockets)
Return the Control connection port number:

SYST:COMM:LAN:CONT?

SYSTem:COMMunicate:LAN:DHCP {ON|1|OFF|0}
SYSTem:COMMunicate:LAN:DHCP?

Disables or enables instrument's use of DHCP. The acronym DHCP stands for Dynamic Host Configuration Protocol, a protocol for assigning dynamic IP addresses to networked devices. With dynamic addressing, a device can have a different IP address every time it connects to the network.

ON: instrument tries to obtain an IP address from a DHCP server. If a DHCP server is found, it assigns a dynamic IP address, Subnet Mask, and Default Gateway to the instrument.

OFF or DHCP unavailable: instrument uses the static IP address, Subnet Mask, and Default Gateway during power-on.

Note

If you change this setting, you must send SYSTem:COMMunicate:LAN:UPDate to activate the new setting.

Parameter Typical Return
{ON|1|OFF|0}. Default: ON. 0 (OFF) or 1 (ON)
Disable DHCP:

SYST:COMM:LAN:DHCP OFF
SYST:COMM:LAN:UPDate

SYSTem:COMMunicate:LAN:DNS[{1|2}] "<address>"
SYSTem:COMMunicate:LAN:DNS[{1|2}]? [{CURRent|STATic}]

Assigns static IP addresses of Domain Name System (DNS) servers. A primary and a secondary server address may be assigned. If DHCP is available and enabled, DHCP will auto-assign these server addresses. These auto-assigned server addresses take precedence over the static addresses assigned with this command. Contact your LAN administrator for details.

Note

If you change this setting, you must send SYSTem:COMMunicate:LAN:UPDate to activate the new setting.


Parameter Typical Return

Command: "nnn.nnn.nnn.nnn". Default: "0.0.0.0".

Query: {CURRent|STATic}. Default: CURRent.

"198.105.232.4"
Set a static primary DNS address:

SYST:COMM:LAN:DNS "198.105.232.4"
SYST:COMM:LAN:UPD

SYSTem:COMMunicate:LAN:DOMain?

Returns the domain name assigned to the instrument.

Parameter Typical Return
(none) "example.com"
Return the domain name being used by the instrument:
SYST:COMM:LAN:DOM?

SYSTem:COMMunicate:LAN:GATeway "<address>"
SYSTem:COMMunicate:LAN:GATeway? [{CURRent|STATic}]]

Assigns a default gateway for the instrument. The specified IP Address sets the default gateway, which allows the instrument to communicate with systems that are not on the local subnet. Thus, this is the default gateway where packets are sent that are destined for a device not on the local subnet, as determined by the Subnet Mask setting. Contact your LAN administrator for details.

Note

If you change this setting, you must send SYSTem:COMMunicate:LAN:UPDate to activate the new setting.


Parameter Typical Return

Command: "nnn.nnn.nnn.nnn". Default: "0.0.0.0".

Query: {CURRent|STATic}. Default: CURRent.

"198.105.232.1"
Set default gateway address:

SYST:COMM:LAN:GATEWAY "198.105.232.1"
SYST:COMM:LAN:UPD

SYSTem:COMMunicate:LAN:HOSTname "<name>"
SYSTem:COMMunicate:LAN:HOSTname? [{CURRent|STATic}]]

Assigns a hostname to the instrument. A hostname is the host portion of the domain name, which is translated into an IP address. If Dynamic Domain Name System (Dynamic DNS) is available on your network and your instrument uses DHCP, the hostname is registered with the Dynamic DNS service at power-on. If DHCP is enabled (SYSTem:COMMunicate:LAN:DHCP ON), the DHCP server can change the specified hostname.

Note

If you change this setting, you must send SYSTem:COMMunicate:LAN:UPDate to activate the new setting.


Parameter Typical Return

String of up to 15 characters.
Must start with letter (A-Z)
May contain letters, numbers (0-9), or dashes ("-")

Default: "K-<instrument model number>-nnnnn", where nnnnn is the last five digits of the instrument's serial number.

"LAB1-34461A"

Define a hostname:

SYST:COMM:LAN:HOST "LAB1-DMM"
SYST:COMM:LAN:UPD

SYSTem:COMMunicate:LAN:IPADdress "<address>"
SYSTem:COMMunicate:LAN:IPADdress? [{CURRent|STATic}]]

Assigns a static Internet Protocol (IP) address for the instrument. If DHCP is enabled (SYSTem:COMMunicate:LAN:DHCP ON), the specified static IP address is not used. Contact your LAN administrator for details.

Note

If you change this setting, you must send SYSTem:COMMunicate:LAN:UPDate to activate the new setting.


Parameter Typical Return

Command: "nnn.nnn.nnn.nnn"

Query: {CURRent|STATic}. Default: CURRent.

"169.254.149.35"
Set a static IP address:

SYST:COMM:LAN:IPAD "169.254.149.35"
SYST:COMM:LAN:UPD

SYSTem:COMMunicate:LAN:MAC?

Returns the instrument's Media Access Control (MAC) address as an ASCII string of 12 hexadecimal characters (0-9 and A-F) enclosed in quotation marks.

Note

Your LAN administrator may need the MAC address to assign a static IP address for this device.

Parameter Typical Return
(none) "0030D3001041"
Return the MAC address:

SYST:COMM:LAN:MAC?

SYSTem:COMMunicate:LAN:SMASk "<mask>"
SYSTem:COMMunicate:LAN:SMASk? [{CURRent|STATic}]]

Assigns a subnet mask for the instrument to use in determining whether a client IP address is on the same local subnet. When a client IP address is on a different subnet, all packets must be sent to the Default Gateway. Contact your LAN administrator for details.

Note

If you change this setting, you must send SYSTem:COMMunicate:LAN:UPDate to activate the new setting.


Parameter Typical Return

Command: "nnn.nnn.nnn.nnn". Default: "255.255.0.0".

Query: {CURRent|STATic}. Default: CURRent.

"255.255.255.0"
Set the subnet mask:

SYST:COMM:LAN:SMAS "255.255.255.0"
SYST:COMM:LAN:UPD

SYSTem:COMMunicate:LAN:TELNet:PROMpt "<string>"
SYSTem:COMMunicate:LAN:TELNet:PROMpt?

Sets the command prompt seen when communicating with the instrument via Telnet.

Parameter Typical Return

String of up to 15 characters

Default is Instrument Model Number: 34460A>, 34461A>, 34465A>, or 34470A>

"Command>"
Set the command prompt:

SYST:COMM:LAN:TELN:PROM "Command>"

SYSTem:COMMunicate:LAN:TELNet:WMESsage "<string>"
SYSTem:COMMunicate:LAN:TELNet:WMESsage?

Sets welcome message seen when communicating with instrument via Telnet.

Parameter Typical Return

Quoted string of up to 63 characters.

Default: "Welcome to Keysight's <instrument model number> Digital Multimeter"

"Welcome to the Telnet Session"

Define a welcome message:

SYST:COMM:LAN:TELN:WMES "Welcome to the Telnet Session"

SYSTem:COMMunicate:LAN:UPDate

Stores any changes made to the LAN settings into non-volatile memory and restarts the LAN driver with the updated settings.

Parameter Typical Return
(none) (none)
(see below)

Example

The following example configures the instrument to use statically assigned LAN settings.

SYST:COMM:LAN:DHCP OFF
SYST:COMM:LAN:DNS "198.105.232.4"
SYST:COMM:LAN:DNS2 "198.105.232.5"
SYST:COMM:LAN:GAT "198.105.232.1"
SYST:COMM:LAN:HOST "LAB1-DMM"
SYST:COMM:LAN:IPAD "198.105.232.101"
SYST:COMM:LAN:SMAS "255.255.255.0"
SYST:COMM:LAN:WINS "198.105.232.4"
SYST:COMM:LAN:WINS "198.105.232.5"
SYST:COMM:LAN:UPD

The following example configures the instrument back to use DHCP.

SYST:COMM:LAN:DHCP ON
SYST:COMM:LAN:UPD

SYSTem:COMMunicate:LAN:WINS[{1|2}] "<address>"
SYSTem:COMMunicate:LAN:WINS[{1|2}]? [{CURRent|STATic}]

Assigns the static IP addresses of the Windows Internet Name System (WINS) servers. A primary and a secondary server address may be assigned. If DHCP is available and enabled, DHCP will auto-assign these server addresses. These auto-assigned server addresses take precedence over the static addresses assigned with this command. Contact your LAN administrator for details.

Note

If you change this setting, you must send SYSTem:COMMunicate:LAN:UPDate to activate the new setting.


Parameter Typical Return

Command: "nnn.nnn.nnn.nnn". Default: "0.0.0.0".

Query: {CURRent|STATic}. Default: CURRent.

"198.105.232.4"
Set a static primary WINS address:

SYST:COMM:LAN:WINS "198.105.232.4"
SYST:COMM:LAN:UPD

SYSTem:USB:HOST:ENABle {ON|1|OFF|0}
SYSTem:USB:HOST:ENABle?

Disables or enables the front panel USB host port. Calibration security must be unsecured (CALibration:SECure:STATe <code>,OFF) before sending this command.

Parameter Typical Return
{ON|1|OFF|0}. Default: OFF. 0 (OFF) or 1 (ON)

Disable the USB host port:


CAL:SEC:STAT OFF,MY_CAL_CODE
SYST:USB:HOST:ENAB OFF
CAL:SEC:STAT ON