Agilent-technologies N5183A MXG Manuale Utente Pagina 62

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 366
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 61
52 Agilent N518xA, E8663B, E44x8C, and E82x7D Signal Generators Programming Guide
Using IO Interfaces
RS-232 Programming Interface Examples
Queries for RS-232 Using VISA and C
This portion of the example program “Queries for RS- 232 Using VISA and C” on page 52, uses VISA
library functions to communicate with the signal generator. The program verifies that the RS- 232
connections and interface are functional.
The following program example is available on the signal generator Documentation CD- ROM as
rs232ex2.cpp. For the full text of this program, refer to “Queries for RS- 232 Using VISA and C” on
page 135 or to the signal generator’s documentation CD- ROM.
status = viOpenDefaultRM(&defaultRM);// Initializes the system
// Open communication with Serial Port 2
status = viOpen(defaultRM, "ASRL2::INSTR", VI_NULL, VI_NULL, &instr);
Vedere la pagina 61
1 2 ... 57 58 59 60 61 62 63 64 65 66 67 ... 365 366

Commenti su questo manuale

Nessun commento