EasyManua.ls Logo

Agilent Technologies E8267C

Agilent Technologies E8267C
198 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
Loading...
Chapter 2 75
Programming Examples
LAN Programming Examples
program using a sequence of commands then perform the following:
1. Enter the hostname of your signal generator in the openSocket function of the main1() function of the
lanio.c program
2. Rename the lanio.cpp int main1() function to int main() and the original int main() function
to int main1().
3. Select
Rebuild All from Build menu. Then select Execute Lanio.exe.
The program will run and display the results as shown in Figure 2-2.
Figure 2-2 Program Output Screen
Setting Parameters and Sending Queries Using Sockets and C
The following programming examples are available on the PSG Documentation CD-ROM as lanio.c and
getopt.c.
/***************************************************************************
* $Header: lanio.c 04/24/01
* $Revision: 1.1 $
* $Date: 04/24/01
* PROGRAM NAME: lanio.c
*

Table of Contents

Other manuals for Agilent Technologies E8267C

Related product manuals