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

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 116
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 54
Chapter 3 GPIB 488.1 Library Reference
Programming Reference Manual 3-42 GPIB-488
IBRSV
Changes the serial poll response byte.
Syntax
C ibrsv (int board, int statusbyte)
Parameters
board is an integer containing the board handle.
statusbyte represents the serial poll response byte of the GPIB Interface Board. The serial
poll response byte is system-specific, with the exception of bit 6 (hex 40). If bit 6 (hex 40) is
set, then the SRQ line is asserted to indicate to the Controller-In-Charge that the board is
requesting service.
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. If no error occurs, iberr will contain
the previous value of
statusbyte.
Usage Notes
This routine is used when the specified GPIB Interface Board is not the Controller-In-Charge.
It can be used to request service (set bit 6 of the serial response byte) from the
Controller-In-Charge or to change the value of GPIB Interface Board's serial poll response
byte.
Example
This example sets the GPIB Interface Board 1 serial poll status byte to 41 hex (assert SRQ)
which indicates that the board requires service.
C int gpib1;
gpib1 = ibfind ("gpib1");
ibrsv (gpib1, 0x41);
Przeglądanie stron 54
1 2 ... 50 51 52 53 54 55 56 57 58 59 60 ... 115 116

Komentarze do niniejszej Instrukcji

Brak uwag