SENDSETUP(3)

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

πŸ’– SENDSETUP(3) πŸ’–

okay bestie, welcome to section 3 of the manual β€” this is SendSetup, and she's a little library function from the linux-gpib crew, so pull up a chair 🫢


✨ NAME ✨

SendSetup β€” perform send addressing πŸ’…


🌸 SYNOPSIS 🌸

#include <gpib/ib.h>

void SendSetup(int board_desc, const Addr4882_t addressList[]);

πŸ¦‹ DESCRIPTION πŸ¦‹

okay so, here's the tea: SendSetup() does the addressing part of a send. It addresses every device sitting in addressList as listeners, and it addresses the interface board itself as the talker. That's the whole vibe β€” it just sets everyone up on the bus and then peaces out πŸ‘‘

Then, once that's done, a subsequent SendDataBytes() call will write data to the devices. So like, SendSetup() is the "get everyone in position" step, and SendDataBytes() is the "okay now speak" step πŸ”₯

ngl, you might find it simpler to use the slightly higher level functions Send() or SendList() instead, because those ones don't require you to do the addressing and the writing of data as two separate things β€” they handle it all together, which is lowkey way more chill ✨

fr fr, if you don't actually need to split addressing and writing apart, Send() / SendList() are giving convenience realness. no cap.

Copyright Β© 2003-2006, 2008 Frank Mori Hess


aaaaand that's the whole page, bestie πŸ’œ this was SENDSETUP(3) from linux-gpib 4.3.7, dated 07/06/2026 β€” slay, go address those devices, periodt πŸŽ€πŸŒˆ

πŸ“¦ where this page comes from