Measurement-computing GPIB-488 Instrukcja Użytkownika Strona 78

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 116
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 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);
Przeglądanie stron 77
1 2 ... 73 74 75 76 77 78 79 80 81 82 83 ... 115 116

Komentarze do niniejszej Instrukcji

Brak uwag