Overview of Remote Control
LAN Remote Control System
Figure 2-4
Example of control using telnet
Step 5.
Press ] while holding down Ctrl in the telnet screen to break the connection to
the E4981A. The telnet prompt appears. Type "quit" at the telnet prompt and
press Enter to finish using telnet.
In E4981A, Telnet cannot be set to OFF.
Control from a program (using port 5025)
When controlling the E4981A from a program on the external controller, use
the socket of port 5025 for connection. Use
:SYSTem:COMMunicate:LAN[:SELF]:CONTrol?
connection port number.
In E4981A, Socket cannot be set to OFF.
Control using C or Visual Basic
You can control the E4981A by socket programming using C language in a
UNIX environment, or Visual C++ or Visual Basic in a Windows environment.
For socket programming, the library for network connection on the TCP/IP
protocol is required. For a UNIX environment, BSD (Berkeley Software
Distribution) Sockets API is available; for a Windows environment, WinSock
(WinSock1.1 and WinSock2.0), created by porting BSD Sockets to Windows
and expanding it, is available.
28
Keysight E4981A 120 Hz/1 kHz/1 MHz Capacitance Meter
on page 276
to obtain the