Agilent Technologies N1996A-503 User Reference page 308

Csa spectrum analyzer
Table of Contents

Advertisement

Programming Fundamentals
Using the LAN to Control the Instrument
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.
Setting Up Your Instrument for Socket Programming
Before you can use socket programming, you must identify your
instrument's socket port number. The default is 5025.
NOTE
The port number you will use for your socket connection to the
instrument is 5025.
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 won't be echoed from the
instrument and the SCPI prompt won't 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.
308
Chapter 5

Advertisement

Table of Contents
loading

This manual is also suitable for:

N1996a-506

Table of Contents