LAN remote control system

Other topics about Overview

Overview

The LAN (Local Area Network) remote control system provides two methods: controlling the E4990A using the SICL-LAN server and controlling the E4990A using the telnet server.

System Configuration

Use a LAN cable to connect between the E4990A and the external controller (computer). The following figure shows the overview of the system configuration of the LAN remote control system.

Configuration of the LAN remote control system

Required Equipment

Control over SICL-LAN Server

In the control system using the SICL-LAN server, communication between the external controller (client) and the E4990A (server) is performed using the SICL-LAN protocol. Communication is performed using SICL (Standard Instrument Control Library). You can control the E4990A by programming using SICL or VISA with the C language in the UNIX environment, or Visual C++, Visual Basic, or VEE in the Windows environment.

Preparing the E4990A

To communicate with the external controller, follow these steps to turn ON the SICL-LAN server of the E4990A in advance.

  1. To activate the SICL-LAN Server of the E4990A.

System > Misc Setup > Network Setup > Enable [ON]

Preparing the external controller

In order to establish communication with/ the E4990A using the TCP/IP protocol, you need to set the I/O interface of the external controller in advance. This section shows the setting procedure when using the external controller in the Windows environment.

  1. From your PC's Start menu, click Program > Keysight Connection Expert to open the Keysight Connection Expert setting screen.

  2. In Instrument Tab, click +Add icon, the select LAN Instrument.

  3. In  Add a LAN device dialog box, select Enter Address tab, then type the IP address of the E4990A and click OK. You can change settings as necessary. For details, refer to the Keysight I/O Libraries Suite documentation.

Control with Telnet Server

In the control system over telnet server, communications are performed through connection between the sockets provided by the processes of the external controller and the E4990A to establish a network path between them.

A socket is an endpoint for network connection; port 5024 and port 5025 are provided for the sockets for the E4990A. Port 5024 is provided for conversational control using telnet (user interface program for the TELNET protocol) and port 5025 for control from a program.

Preparing the E4990A

To communicate with the external controller, follow these steps to turn on the telnet server of the E4990A in advance.

System > Misc Setup > Network Setup > Enable [ON]

Conversational control using telnet (using port 5024)

You can use telnet to perform conversational control by sending SCPI commands to the E4990A on a message-by-message basis. For telnet, the socket of port 5024 is used for communications.

In this example, in order to show you the control procedure using telnet, you control the E4990A (IP address: 192.168.0.2 and host name: E4990A) from the external controller in the Windows environment.

  1. Open the MS-DOS command prompt screen.

  2. At the MS-DOS prompt, type telnet 192.168.0.2 5024 and press the return key.

  3. The telnet screen opens.

  4. Type a command and press the return key; it is sent to the E4990A and executed. If you enter a command that queries some data, the query response is displayed below the line you have entered the command.

  5. The following figure shows the screen after using the :SYST:PRES command  to reset, the :SENS1:FREQ:STAR command and :SENS1:FREQ:STOP commands to set the sweep start value and stop value to 1 GHz and 2 GHz respectively, and checking the settings.

Example of control using telnet

  1. Press ] while holding down Ctl in the telnet screen to break the connection with the E4990A. The telnet prompt appears. At the telnet prompt, type quit and press the Enter key. The connection to the E4990A breaks and telnet ends.

Control from a program (using port 5025)

When controlling the E4990A from a program on the external controller, use the socket of port 5025 for connection.

For Windows 7: select server mode because it is not possible to turn on both Web server and Socket server on Windows 7

Press System > Misc Setup > Network Setup > Mode > Socket Server.

About LXI

LXI (LAN eXtensions for Instrumentation) is the LAN-based successor to GPIB and combines the advantages of Ethernet with the simplicity and familiarity of GPIB. The key features of LXI are as follows: