Agilent-technologies N5183A MXG Instrukcja Użytkownika Strona 251

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 366
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 250
Agilent N518xA, E8663B, E44x8C, and E82x7D Signal Generators Programming Guide 241
Creating and Downloading Waveform Files
Programming Examples
// Send parts 1, 2, and 3
iwrite(id, cmd, strlen(cmd), 0, 0);
// Send part 4. Be careful to use the correct command here. In many
// programming languages, there are two methods to send SCPI commands:
// Method 1 = stop at the first ‘0’ in the data
// Method 2 = send a fixed number of bytes, ignoring ‘0’ in the data.
// You must find and use the correct command for Method 2.
iwrite(id, iqbuffer, bytesToSend, 0, 0);
// Send a terminating carriage return
iwrite(id, “\n”, 1, 1, 0);
printf(“Loaded file using the E4438C, E8267C and E8267D format\n”);
return 0;
}
Przeglądanie stron 250
1 2 ... 246 247 248 249 250 251 252 253 254 255 256 ... 365 366

Komentarze do niniejszej Instrukcji

Brak uwag