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

  • 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 43
Chapter 3 GPIB 488.1 Library Reference
GPIB-488 3-31 Programming Reference Manual
IBPCT
Passes control to another device.
Syntax
C ibpct (int device)
Parameters
device an integer containing the 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
This makes the specified device the Controller-In-Charge (CIC). The GPIB board goes to the
Controller Idle state and releases the ATN line.
The device that control is passed to must have Controller capability.
Example
This example makes a device at PAD 1 the Controller-In-Charge.
C int Dev;
Dev = ibdev (0,1,0,13,1,0);
ibpct(Dev);
Zobrazit stránku 43
1 2 ... 39 40 41 42 43 44 45 46 47 48 49 ... 115 116

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

Žádné komentáře