User`s guide

Table Of Contents
Chapter 2 35
Overview of Remote Control
LAN remote control system
2. Overview of Remote
Control
Control from a program (using port 5025)
When controlling the E5061A/E5062A from a program on the external controller, use the
socket of port 5025 for connection.
NOTE Some functions such as service requests that are available in the GPIB remote control
system are not available in control over telnet server.
Control using C or Visual Basic
You can control the E5061A/E5062A by socket programming using the C language in the
UNIX environment, or Visual C++ or Visual Basic in the Windows environment.
For socket programming, the library for network connection on the TCP/IP protocol is
required. For the UNIX environment, BSD (Berkeley Software Distribution) Sockets API
is available; for the Windows environment, WinSock (WinSock1.1 and WinSock2.0)
created by porting BSD Sockets to Windows and expanding it is available.
For more information on the control method, see a sample program for control using
WinSock described in “Controlling Using Telnet Server” on page 184.
Agilent Control using VEE
Agilent VEE allows you to control the E5061A/E5062A through the connection to the
socket of port 5025 using To/From Socket. Figure 2-5 shows an example (when the IP
address of the E5061A/E5062A is 1.10.100.50). Enter 5025 in the field to specify the port
for connection (1 in Figure 2-5) and enter the IP address or host name of the
E5061A/E5062A in the filed to specify the host name (2 in Figure 2-5).
Figure 2-5 Example of control using Agilent VEE