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

  • 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 96
Chapter 4 GPIB 488.2 Library Reference
GPIB-488 4-29 Programming Reference Manual
TriggerList
Triggers multiple GPIB devices
Syntax
C void TriggerList(int board, int 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 triggered. If this array contains only
NOADDR, all
previously addressed listeners 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
Use Trigger to trigger only one device.
Example
This example triggers two devices simultanously. The devices are connected to board 0 and
are at GPIB addresses 6 and 7.
C short addresslist[3] = {6, 7, NOADDR};
TriggerList(0, addresslist);
Zobrazit stránku 96
1 2 ... 92 93 94 95 96 97 98 99 100 101 102 ... 115 116

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

Žádné komentáře