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

  • 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 38
Chapter 3 GPIB 488.1 Library Reference
Programming Reference Manual 3-26 GPIB-488
IFC = Interface Clear
REN = Remote Enable
SRQ = Service Request
EOI = End or Identify
Usage Notes
In order for this call to function properly, all devices attached to the GPIB bus must adhere to
IEEE-488 specification.
Example
This example tests the state of the ATN line.
C #define ATNLINE = 0x40
int lines;
iblines (board, &lines);
if (lines & ATNLINE == 0)
printf "ATN line can not be monitored by this
GPIB board";
else ( (lines >> 8) & ATNLINE ) == 0)
printf "ATN line is not asserted";
Zobrazit stránku 38
1 2 ... 34 35 36 37 38 39 40 41 42 43 44 ... 115 116

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

Žádné komentáře