EasyManuals Logo
Home>Agilent Technologies>Measuring Instruments>E4448A

Agilent Technologies E4448A User Manual

Agilent Technologies E4448A
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 #315 background imageLoading...
Page #315 background image
Chapter 5 315
Programming Fundamentals
Using the LAN to Control the Instrument
Programming Fundamentals
Using Socket LAN to Send Commands
Your instrument implements a sockets Applications Programming
Interface (API) compatible with Berkeley sockets, Winsock, and other
standard sockets APIs. You can write programs using sockets to control
your instrument by sending SCPI commands to a socket connection you
create in your program. Refer to Using a Java Applet Over Socket
LAN in this chapter for example programs using sockets to control the
instrument.
Setting Up Your Instrument for Socket Programming
Before you can use socket programming, you must identify your
instruments socket port number. The default is 5025.
1. Press
System, Config I/O, SCPI LAN, Socket Port.
2. Notice that the port number you will use for your socket connection
to the instrument is 5025.
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)
NOTE LAN device clear capability has not been implemented in firmware
revision A.01.xx.
Troubleshooting help:
You can verify that you can open a socket connection to your instrument
by using telnet:
telnet <IP address> 5025
Characters typed from your keyboard wont be echoed from the
instrument and the SCPI prompt wont be given. However, you will be
able to send commands and query the instrument. For example, you
can type *idn? and the instrument identification string will be
returned.

Table of Contents

Other manuals for Agilent Technologies E4448A

Questions and Answers:

Question and Answer IconNeed help?

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

Agilent Technologies E4448A Specifications

General IconGeneral
BrandAgilent Technologies
ModelE4448A
CategoryMeasuring Instruments
LanguageEnglish

Related product manuals