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

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 116
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 58
Chapter 3 GPIB 488.1 Library Reference
Programming Reference Manual 3-46 GPIB-488
IBSTOP
Terminate an asynchronous operation.
Syntax
C ibstop (int boarddev)
Parameters
boarddev is an integer containing the device or board handle.
Returns
ibsta will contain a 16-bit status word as described in Appendix B, IBSTA. If an operation
is terminated, the
ERR bit is set.
iberr will contain an error code, if an error occurred. If an operation is terminated, an EABO
error is returned.
Usage Notes
If a device is specified, all unfinished asynchronous operations (read, write, or command)
associated with that device is stopped. If a GPIB Interface Board is specified, all unfinished
asynchronous operations associated with that board is stopped. Once the operation(s) have
been terminated, the application is resynchronized with the driver.
Example
This example starts a background write command and then immediately stops it.
C int dev;
dev = ibdev (0,2,0,13,1,0);
ibwrta(dev, "datafile");
ibstop (dev);
Vista de página 58
1 2 ... 54 55 56 57 58 59 60 61 62 63 64 ... 115 116

Comentários a estes Manuais

Sem comentários