EasyManuals Logo
Home>Agilent Technologies>Measuring Instruments>E4440A

Agilent Technologies E4440A User Manual

Agilent Technologies E4440A
434 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #323 background imageLoading...
Page #323 background image
Chapter 5 323
Programming Fundamentals
Using the LAN to Control the Instrument
Programming Fundamentals
Using a Java Applet Over Socket LAN
There is a programming example in the PSA Measurement Guide and
Programming Examples that demonstrates simple socket programming
with Java. It is written in Java programming language, and will
compile with Java compilers versions 1.0 and above.
This program is also on the documentation CD ROM that shipped with
your product.
Using a C Program Over Socket LAN
The PSA Measurement Guide and Programming Examples book
contains two examples of simple LAN socket programs. They are
written in C. One compiles in the HP-UX UNIX environment and one is
written for the WIN32 environment.
In UNIX, LAN communication via sockets is very similar to reading or
writing a file. The only difference is the openSocket() routine, which
uses a few network library routines to create the TCP/IP network
connection. Once this connection is created, the standard fread() and
fwrite() routines are used for network communication.
In Windows, the routines send() and recv() must be used, because
fread() and fwrite() may not work on sockets.
NOTE You may need to enable the termination character attribute when using
the VISA libraries for socket communication. If the termchar attribute
is disabled, then no termination character is sent with the data and the
bus will time out waiting for it. (Set vi_attr_termchar_en)

Table of Contents

Other manuals for Agilent Technologies E4440A

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Agilent Technologies E4440A and is the answer not in the manual?

Agilent Technologies E4440A Specifications

General IconGeneral
BrandAgilent Technologies
ModelE4440A
CategoryMeasuring Instruments
LanguageEnglish

Related product manuals