![Agilent Technologies 4294A Скачать руководство пользователя страница 176](http://html.mh-extra.com/html/agilent-technologies/4294a/4294a_programming-manual_2867882176.webp)
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.
Содержание 4294A
Страница 4: ...4 ...
Страница 18: ...18 Contents ...
Страница 24: ...24 Chapter1 To make effective use of this manual Other manuals attached to this unit ...
Страница 94: ...94 Chapter6 Reading Writing Measurement Data Reading Writing Data ...
Страница 110: ...110 Chapter7 Processing Measurement Results Analyzing Measurement Results ...
Страница 130: ...130 Chapter9 Communication with External Equipment Using the I O Ports Sample Program to Use the I O Port ...
Страница 136: ...136 Chapter10 Handling Errors Sample program for error handling ...
Страница 246: ...246 13 Application Sample Programs File Transfer Function ...
Страница 254: ...254 Chapter15 Setting the Display LCD Sample program for setting the LCD screen ...
Страница 507: ...Index Index 507 Index ...
Страница 508: ...508 Index Index ...
Страница 509: ...Index Index 509 Index ...
Страница 510: ...510 Index Index ...
Страница 511: ...Index Index 511 Index ...
Страница 512: ...512 Index Index ...
Страница 513: ...Index Index 513 Index ...
Страница 514: ...514 Index Index ...
Страница 515: ...Index Index 515 Index ...
Страница 516: ...516 Index Index ...
Страница 517: ...Index Index 517 Index ...
Страница 518: ...518 Index Index ...