Agilent-technologies N5183A MXG Bedienungsanleitung Seite 62

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 366
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 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);
Seitenansicht 61
1 2 ... 57 58 59 60 61 62 63 64 65 66 67 ... 365 366

Kommentare zu diesen Handbüchern

Keine Kommentare