Measurement-computing GPIB-488 Uživatelský manuál Strana 62

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 116
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 61
Chapter 3 GPIB 488.1 Library Reference
GPIB-488 3-49 Programming Reference Manual
IBTRG
Triggers the specified device.
Syntax
C ibtrg (int device)
Parameters
device is an integer containing device handle.
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 GPIB Interface Board associated with the device is
addressed to talk and all devices are unlistened. The specified device is then addressed to
listen and a GET (Group Execute Trigger) command is sent.
Example
This example triggers the specified device.
C int plotter;
plotter = ibdev (0,6,0,13,1,0);
ibtrg (plotter);
Zobrazit stránku 61
1 2 ... 57 58 59 60 61 62 63 64 65 66 67 ... 115 116

Komentáře k této Příručce

Žádné komentáře