IBLINES(3)
π 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β value0x1β description: TheBusDAVbit is valid.ValidNDACβ value0x2β description: TheBusNDACbit is valid.ValidNRFDβ value0x4β description: TheBusNRFDbit is valid.ValidIFCβ value0x8β description: TheBusIFCbit is valid.ValidRENβ value0x10β description: TheBusRENbit is valid.ValidSRQβ value0x20β description: TheBusSRQbit is valid.ValidATNβ value0x40β description: TheBusATNbit is valid.ValidEOIβ value0x80β description: TheBusEOIbit is valid.BusDAVβ value0x100β description: Set/cleared if the DAV line is asserted/unasserted.BusNDACβ value0x200β description: Set/cleared if the NDAC line is asserted/unasserted.BusNRFDβ value0x400β description: Set/cleared if the NRFD line is asserted/unasserted.BusIFCβ value0x800β description: Set/cleared if the IFC line is asserted/unasserted.BusRENβ value0x1000β description: Set/cleared if the REN line is asserted/unasserted.BusSRQβ value0x2000β description: Set/cleared if the SRQ line is asserted/unasserted.BusATNβ value0x4000β description: Set/cleared if the ATN line is asserted/unasserted.BusEOIβ value0x8000β 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 π
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
- ubuntu stonking: libgpib-doc 4.3.7-6 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms