![Rohde & Schwarz R&S LCX Series User Manual Download Page 214](http://html.mh-extra.com/html/rohde-and-schwarz/rands-lcx-series/rands-lcx-series_user-manual_1477867214.webp)
Remote control commands
R&S
®
LCX Series
214
User Manual 1179.2260.02 ─ 02
Example: Network communication settings
The example represents the remote control commands for configuring and activating
the interfaces for remote control.
*************************************************
// Configure the network-related settings
// assign the address information manually
SYSTem:COMMunicate:LAN:DHCP 0
SYSTem:COMMunicate:LAN:ADDRess "10.113.0.104"
SYSTem:COMMunicate:LAN:SMASk "255.255.252.0"
SYSTem:COMMunicate:LAN:DGATeway "10.113.0.1"
SYSTem:COMMunicate:LAN:APPLy
// Reset the network configuration and restart
SYSTem:COMMunicate:LAN:RESet
*************************************************
// Query the MAC address
SYSTem:COMMunicate:LAN:MAC?
// Response: "00-90-B8-21-66-F1"
*************************************************
// Set a user-deined hostname for the instrument
SYSTem:COMMunicate:LAN:HOSTname "RS-LCX2000-123456"
*************************************************
// Request information on the LAN settings
SYSTem:COMMunicate:LAN:DHCP?
// Response: 0
SYSTem:COMMunicate:LAN:ADDRess?
// Response: "10.113.0.104"
SYSTem:COMMunicate:LAN:SMASk?
// Response: "255.255.252.0"
SYSTem:COMMunicate:LAN:DGATeway?
// Response: "10.113.0.1"
SYSTem:COMMunicate:LAN:HOSTname?
// Response: "RS-LCX2000-123456"
// Query the MAC address
SYSTem:COMMunicate:LAN:MAC?
// Response: "00-90-B8-21-66-F1"
*************************************************
// Set the VNC port address and activate VNC access over LAN
SYSTem:COMMunicate:NETWork:VNC:PORt 5900
SYSTem:COMMunicate:NETWork:VNC:STATe 1
// Request information on the VNC port address:
SYSTem:COMMunicate:NETWork:VNC:PORt?
// Response: 5900
SYSTem subsystem
www.allice.de
Allice Messtechnik GmbH