5
Remote Operations
44
Keysight J7211A/B/C Operating and Service Manual
Control Over Telnet Server
In a control system that operates over the telnet server, communications are performed through
connection between the sockets provided by the processes of the external controller and the
J7211A/B/C 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 J7211A/B/C. 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 external controller
As in the case of the SICL-LAN server, you need to set the I/O interface for the external controller in
advance to establish communication to the J7211A/B/C using the TCP/IP protocol.
Conversational control using telnet (using port 5024)
You can use telnet to perform conversational control by sending SCPI commands to the
J7211A/B/C on a message-by-message basis. For telnet, the socket of port 5024 is used for
communications.
In this example, to show you the control procedure using telnet, in a Windows environment you
control the J7211A/B/C (IP address:141.183.220.234) from the external controller.
1
Open the MS-DOS command prompt screen.
2
At the MS-DOS prompt, type “telnet 141.183.220.234 5024” and press Enter.
3
The telnet screen opens.
4
Type a command and press Enter; it is sent to the J7211A/B/C and executed. If you enter a
command that queries some data, the query response is displayed below the line in which you
entered the command.
shows the screen displaying the attenuation value set at
50dB and query to ensure correct attenuation. The example also includes value clipped to
maximum of 121dB.
NOTE
For port 5024, service requests are asynchronous. Also, use Ctrl+C to clear the device.