IBGTS(3)

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

πŸ’… IBGTS(3) β€” Traditional API Functions

okay bestie, gather round, because we're about to talk about ibgts from the linux-gpib fam πŸ¦‹ this is a real one, iykyk


✨ NAME ✨

ibgts β€” release ATN (board) πŸŽ€

like, that's the whole vibe. it releases ATN. periodt.


🌸 SYNOPSIS 🌸

#include <gpib/ib.h>

int ibgts(int ud, int shadow_handshake);

πŸ‘‘ DESCRIPTION πŸ‘‘

so <pink>ibgts()is literally the *complement* ofibcac()β€” they're giving opposite-energy siblings fr fr πŸ’« what it does is it makes the board that your board descriptorud` points to go into standby, and it does that by releasing the ATN line.

⚠️ important lore: the board must be controller-in-change to change the state of the ATN line. no controller-in-change, no ATN changes. that's just the rules, bestie πŸ’€

now here's the tea with shadow_handshake β˜• if it's nonzero, then the board is gonna handshake any data bytes it receives β€” and it keeps doing that until one of these three things happens:

  1. it hits an EOI
  2. it hits an end-of-string character
  3. the ATN line is asserted again

and the data it receives? discarded. thrown away. not your problem anymore πŸ™ˆ the board is just out here catching bytes and dropping them like they're hot πŸ”₯

β€”

okay real talk though, ngl: it is generally not necessary to call ibgts(). she's not for everyone. she's provided for advanced users who want direct, low-level access to the GPIB bus β€” the kind of main character who talks to hardware with no middleman πŸ˜€πŸ’…


πŸ’– RETURN VALUE πŸ’–

the value of ibsta gets returned. that's it, that's the return value, slay ✨


Copyright Β© 2003-2006, 2008 Frank Mori Hess


mwah πŸ’‹ that's the whole page. go forth and release that ATN line responsibly, bestie.

this has been your girl from linux-gpib 4.3.7, dated 07/06/2026 β€” love u, bye 🫢🌸

πŸ“¦ where this page comes from