Measurement-computing GPIB-488 Bedienungsanleitung Seite 72

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 116
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 71
Chapter 4 GPIB 488.2 Library Reference
Programming Reference Manual 4-4 GPIB-488
DevClearList
Clears specified devices.
Syntax
C DevClearList(int board, short addresslist[])
Parameters
board is an integer which identifies the GPIB board to be used for this operation. In most
applications, this value is 0.
addresslist is an array of GPIB addresses, terminated by the value NOADDR. These
addresses identify the devices to be cleared.
Returns
ibsta will contain a 16-bit status word as described in Appendix B, IBSTA.
iberr will contain an error code, if an error occurred.
Usage Notes
This routine sends the GPIB Selected Device Clear (SDC) to the devices specified by
addresslist.
To clear only one device, use
DevClear.
Example
This clears the devices at GPIB addresses 6 and 7, connected to GPIB board 0.
C short addresslist[3] = {6,7,NOADDR};
DevClearList(0, addresslist);
Seitenansicht 71
1 2 ... 67 68 69 70 71 72 73 74 75 76 77 ... 115 116

Kommentare zu diesen Handbüchern

Keine Kommentare