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

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 116
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 71
Chapter 4 GPIB 488.2 Library Reference
Programming Reference Manual 4-4 GPIB-488
DevClearList
Clears specified devices.
Syntax
C DevClearList(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 cleared.
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
This routine sends the GPIB Selected Device Clear (SDC) to the devices specified by
addresslist.
To clear only one device, use
DevClear.
Example
This clears the devices at GPIB addresses 6 and 7, connected to GPIB board 0.
C short addresslist[3] = {6,7,NOADDR};
DevClearList(0, addresslist);
Vista de página 71
1 2 ... 67 68 69 70 71 72 73 74 75 76 77 ... 115 116

Comentários a estes Manuais

Sem comentários