Agilent Technologies 4294A Service Manual Page 176

  • Download
  • Add to my manuals
  • Print
  • Page
    / 518
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 175
176 Chapter 12
Using LAN
Controlling the Agilent 4294A
Control from a program
To control the 4294A from a program stored on an external controller, make connection by
use of the socket of Port 5025.
NOTE You cannot use some of functions usable within GPIB, such as service request, by way of
LAN.
Control with HP VEE
In HP VEE, using To/From Socket makes connection with the socket of Port 5025 so that
you can control the 4294A.
Figure 12-4 shows an example (in which the IP address
1.10.100.50 is assigned to the 4294A). Type 5025 in the Connection Port field (1 in Figure
12-4) and type either the IP address or the host name of the 4294A in the Host Name field
(2 in Figure 12-4).
Figure 12-4 An example of control using HP VEE
Control with languages, such as C and Visual Basic
Socket programming allows you to control the 4294A through socket programming from C
language in a UNIX environment, or Visual C++ or Visual Basic in a Windows
environment. Socket programming requires a library for network connection with TCP/IP
protocol. For this purpose, BSD (Berkeley Software Distribution) Sockets API is supplied
in the UNIX environment, while WinSock (WinSock1.1, or WinSock2.0), prepared by
porting BSD Sockets onto Windows and extending it, in the Windows environment.
The sample program disk contains a sample program (ctrl_lan.bas: Microsoft Excel file)
for control with Visual Basic (VBA macro).
First, let us begin with how to use this program. Opening this file will display the screen
shown in
Figure 12-5. Below are described how to operate each part of this screen.
Page view 175
1 2 ... 171 172 173 174 175 176 177 178 179 180 181 ... 517 518

Comments to this Manuals

No comments