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

  • 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 77
Chapter 4 GPIB 488.2 Library Reference
Programming Reference Manual 4-10 GPIB-488
Ppoll
Performs a parallel poll.
Syntax
C PPoll(int board, short *result)
Parameters
board is an integer which identifies the GPIB board to be used for this operation. In most
applications, this value is 0.
Returns
result will contain the eight-bit result of the parallel poll. Each bit of the poll result contains
one bit of status information from each device which has been configured for parallel polls.
The value of each bit is dependent on the latest parallel poll configuration sent to the devices
through
PPollConfig and the individual status of the devices.
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
None.
Example
Parallel polls devices connected to board 0.
C short result;
PPoll(0, &result);
Zobrazit stránku 77
1 2 ... 73 74 75 76 77 78 79 80 81 82 83 ... 115 116

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

Žádné komentáře