Agilent Technologies E2094S Betriebsanweisung Seite 39

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 146
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 38
Programming with VISA 3
Agilent VISA User’s Guide 39
Example: Searching the VXI Interface for Resources This code
sample searches the VXI interface for resources. The number of
matches found is returned in nmatches, and matches points to the string
that contains the matches found. The first call returns the first match
found, the second call returns the second match found, etc.
VI_FIND_BUFLEN is defined in the visa.h declarations file.
ViChar buffer [VI_FIND_BUFLEN];
ViRsrc matches=buffer;
ViUInt32 nmatches;
ViFindList list;
.
.
viFindRsrc(defaultRM, "VXI?*INSTR", &list,
&nmatches, matches);
..
.
viFindNext(list, matches);
.
.
viClose(list);
Seitenansicht 38
1 2 ... 34 35 36 37 38 39 40 41 42 43 44 ... 145 146

Kommentare zu diesen Handbüchern

Keine Kommentare