IBLINES(3)

πŸ“¦
version 4.3.7 Β· 2 versions
, in ubuntu stonking

πŸ’– NAME πŸ’–

okay bestie, meet iblines(3) β€” she's from the Traditional API Functions girlies, and she is here to monitor bus lines (board). No cap. πŸ’…

iblines β€” monitor bus lines (board) πŸ¦‹


✨ SYNOPSIS ✨

#include <gpib/ib.h>

int iblines(int ud, short *line_status);

🌸 DESCRIPTION 🌸

So like, iblines() is the icon you call when you want the status of the control and handshaking bus lines of the bus. πŸ‘‘ You tell her which board is doing the monitoring with the ud argument, and she writes the status of the various bus lines to the location specified by line_status. Periodt.

Some older chips are literally not capable of reporting the status of the bus lines, so each line has two corresponding bits in line_status. One bit indicates if the board can monitor the line, and the other bit indicates the line's state. The meaning of the line_status bits are as follows:

Table 9. line status bits β€” here's the constant, value, and description tea: β˜•

  • ValidDAV β€” value 0x1 β€” description: The BusDAV bit is valid.
  • ValidNDAC β€” value 0x2 β€” description: The BusNDAC bit is valid.
  • ValidNRFD β€” value 0x4 β€” description: The BusNRFD bit is valid.
  • ValidIFC β€” value 0x8 β€” description: The BusIFC bit is valid.
  • ValidREN β€” value 0x10 β€” description: The BusREN bit is valid.
  • ValidSRQ β€” value 0x20 β€” description: The BusSRQ bit is valid.
  • ValidATN β€” value 0x40 β€” description: The BusATN bit is valid.
  • ValidEOI β€” value 0x80 β€” description: The BusEOI bit is valid.
  • BusDAV β€” value 0x100 β€” description: Set/cleared if the DAV line is asserted/unasserted.
  • BusNDAC β€” value 0x200 β€” description: Set/cleared if the NDAC line is asserted/unasserted.
  • BusNRFD β€” value 0x400 β€” description: Set/cleared if the NRFD line is asserted/unasserted.
  • BusIFC β€” value 0x800 β€” description: Set/cleared if the IFC line is asserted/unasserted.
  • BusREN β€” value 0x1000 β€” description: Set/cleared if the REN line is asserted/unasserted.
  • BusSRQ β€” value 0x2000 β€” description: Set/cleared if the SRQ line is asserted/unasserted.
  • BusATN β€” value 0x4000 β€” description: Set/cleared if the ATN line is asserted/unasserted.
  • BusEOI β€” value 0x8000 β€” description: Set/cleared if the EOI line is asserted/unasserted.

πŸŽ€ RETURN VALUE πŸŽ€

The value of ibsta is returned. That's it, that's the tea. ✨


Copyright Β© 2003-2006, 2008 Frank Mori Hess πŸ’œ


okay bye bestie 🫢 this page is from linux-gpib 4.3.7, dated 07/06/2026 β€” go monitor those bus lines and slay πŸ’…πŸŒΈ

πŸ“¦ where this page comes from