Measurement-computing GPIB-488 Manuale Utente Pagina 72

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 116
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 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);
Vedere la pagina 71
1 2 ... 67 68 69 70 71 72 73 74 75 76 77 ... 115 116

Commenti su questo manuale

Nessun commento