Agilent-technologies N5183A MXG Manuale Utente Pagina 258

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 366
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 257
248 Agilent N518xA, E8663B, E44x8C, and E82x7D Signal Generators Programming Guide
Creating and Downloading Waveform Files
Programming Examples
{
numRead = fread(buf, sizeof(char), BUFFER_SIZE, file);
viWrite(vi, buf, numRead, 0);
} while (numRead == BUFFER_SIZE);
// Send the terminating newline and EOI
viSetAttribute( vi, VI_ATTR_SEND_END_EN, 1 );
char* newLine = "\n";
viWrite(vi, (unsigned char*)newLine, 1, 0);
delete [] buf;
}
else
{
fprintf(stderr, "Could not allocate memory for copy buffer\n");
}
fclose(file);
viClose(vi);
viClose(defaultRM);
return 0;
}
Vedere la pagina 257
1 2 ... 253 254 255 256 257 258 259 260 261 262 263 ... 365 366

Commenti su questo manuale

Nessun commento