Measurement-computing GPIB-488 Uživatelský manuál Strana 80

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 116
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 79
Chapter 4 GPIB 488.2 Library Reference
Programming Reference Manual 4-12 GPIB-488
PPollUnconfig
Unconfigures devices for parallel polls.
Syntax
C PPollUnconfig(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 that do not respond to a parallel poll.
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.
Example
Unconfigure the devices connected to board 0 and located at GPIB addresses 6 and 7.
C short addresslist[3] = {6, 7, NOADDR};
PPollUnconfig(0, addresslist);
Zobrazit stránku 79
1 2 ... 75 76 77 78 79 80 81 82 83 84 85 ... 115 116

Komentáře k této Příručce

Žádné komentáře