ALLSPOLL(3)

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

✨ ALLSPOLL(3) ✨

okay bestie, so this is AllSPoll from the AllSPoll manual page β€” the one where you roll up to a whole squad of GPIB devices at once and ask them all "hey, how u doing?" πŸ’…


🌸 SYNOPSIS 🌸

#include <gpib/ib.h>

void AllSPoll(int board_desc, Addr4882_t *addressList,
              short *resultList);

void AllSpoll(int board_desc, const Addr4882_t *addressList,
              short *resultList);

πŸ’– DESCRIPTION πŸ’–

So here's the tea, bestie β˜•: AllSPoll() makes the interface board you picked with board_desc go and serial poll every single GPIB address chilling in the addressList array. Like, all of them. No one gets left out, periodt. 🫢

And the receipts? The results of all those serial polls get stashed right into resultList. That's the whole vibe check β€” one call, everybody answers. ✨

But lowkey, if you're only trying to serial poll one device, then ReadStatusByte() or ibrsp() might just be way more convenient for you. No shame, single-device polling is valid too. πŸ™ˆ

Also!! This function can be called with the alternate capitalization AllSpoll β€” that's for compatibility with NI's library, so if you're coming from there, you'll feel right at home. iykyk πŸŽ€

πŸ’€ tiny heads-up bestie: the synopsis shows two prototypes, and the second one takes a const Addr4882_t *addressList. That's not a typo, that's just how it's written. Copy it exactly, no cap.

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


and that's the whole page, bestie!! 🌈 source is linux-gpib 4.3.7, dated 07/06/2026 β€” go serial poll your whole friend group, you ate fr fr πŸ’…βœ¨πŸ¦‹

πŸ“¦ where this page comes from