EasyManua.ls Logo

Keysight Technologies N5173B EXG - Page 144

Keysight Technologies N5173B EXG
398 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...
144 Keysight CXG, EXG, and MXG X-Series Signal Generators Programming Guide
Programming Examples
LAN Programming Interface Examples
{
if ( !strlen(charBuf) )
continue ;
if ( *charBuf == '#' || *charBuf == '!' )
continue ;
strcat(charBuf, "\n");
if (!quiet)
{
if (number)
{
char num[10];
sprintf(num,"%d: ",number);
fwrite(num, strlen(num), 1, stdout);
}
fwrite(charBuf, strlen(charBuf), 1, stdout) ;
fflush(stdout);
}
if ( isQuery(charBuf) )
{
long bufBytes;
/* Put the query response into the same buffer as
the*/
/* command string appended after the null
terminator.*/
bufBytes = queryInstrument(instSock, charBuf,
charBuf + strlen(charBuf)
+ 1,
INPUT_BUF_SIZE
-strlen(charBuf) );

Table of Contents

Other manuals for Keysight Technologies N5173B EXG

Related product manuals