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

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 116
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 73
Chapter 4 GPIB 488.2 Library Reference
Programming Reference Manual 4-6 GPIB-488
EnableRemote
Allow remote programming (by sending messages over the GPIB line) of a device.
Syntax
C EnableRemote(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 put in remote programming mode.
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
When this routine is executed, the system controller asserts the Remote Enable (REN) line
and the Controller addresses the specified devices as listeners.
Example
Places devices at GPIB addresses 6 and 7 (connected to GPIB board) in remote mode.
C short addresslist[3] = {6,7,NOADDR};
EnableRemote(0, addresslist);
Przeglądanie stron 73
1 2 ... 69 70 71 72 73 74 75 76 77 78 79 ... 115 116

Komentarze do niniejszej Instrukcji

Brak uwag