Agilent Technologies FS2010 Wartungshandbuch Seite 147

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 396
  • Inhaltsverzeichnis
  • FEHLERBEHEBUNG
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 146
Agilent Signal Generators Programming Guide 139
Programming Examples
LAN Programming Interface Examples
fwrite(charBuf + strlen(charBuf)+1, bufBytes, 1, stdout);
fwrite("\n", 1, 1, stdout) ;
fflush(stdout);
}
}
else
{
commandInstrument(instSock, charBuf);
}
if (number) number++;
}
}
if (show_errs) {
showErrors(instSock);
}
#ifdef WINSOCK
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 */
/**************************************************************************/
Seitenansicht 146
1 2 ... 142 143 144 145 146 147 148 149 150 151 152 ... 395 396

Kommentare zu diesen Handbüchern

Keine Kommentare