Measurement-computing GPIB-488 Manual do Utilizador Página 74

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 116
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 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);
Vista de página 73
1 2 ... 69 70 71 72 73 74 75 76 77 78 79 ... 115 116

Comentários a estes Manuais

Sem comentários