EasyManua.ls Logo

Agilent Technologies E8267C - Page 103

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 97
Programming Examples
LAN Programming Examples
closesocket(instSock);
close_winsock();
#else
close(instSock);
#endif /* WINSOCK */
return 0;
}
/* End of lanio.cpp *
/**************************************************************************/
/* $Function: main1$ */
/* $Description: Output a series of SCPI commands to the signal generator */
/* Send query results to stdout. $ */
/* */
/* $Return: (int) . . . non-zero if an error occurs */
/* */
/**************************************************************************/
/* Rename this int main1() function to int main(). Re-compile and the */
/* execute the program */
/**************************************************************************/
int main1()
{
SOCKET instSock;
long bufBytes;
char *charBuf = (char *) malloc(INPUT_BUF_SIZE);

Table of Contents

Other manuals for Agilent Technologies E8267C

Related product manuals