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

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 116
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 95
Chapter 4 GPIB 488.2 Library Reference
Programming Reference Manual 4-28 GPIB-488
Trigger
Triggers one device.
Syntax
C Trigger(int board, short address)
Parameters
board is an integer which identifies the GPIB board to used for this operation. In most
applications, this value is 0.
address is an integer representing the GPIB address of the device to trigger. If
address = NOADDR then all Listeners already addressed are triggered.
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 call is executed, the GPIB GET (Group Execute Trigger) message is sent to the
specified device.
To trigger several GPIB devices, use
TriggerList.
Example
This example triggers a device connected to board 0 whose primary GPIB address is 6 and
secondary address is 12.
C Trigger (0, MakeAddr (6, 12));
Vista de página 95
1 2 ... 91 92 93 94 95 96 97 98 99 100 101 ... 115 116

Comentários a estes Manuais

Sem comentários