viClose(3visa)

omg bestie, welcome to the viClose(3visa) page from the LibreVISA Programmers' Manual πŸ’– this one is short and sweet but still iconic, fr fr.

✨ NAME ✨

viClose β€” close a handle to a VISA session, find list or event πŸ’…

πŸ¦‹ SYNOPSIS πŸ¦‹

#include <visa.h>

ViStatus viClose(ViObject object);

🌸 DESCRIPTION 🌸

So like, viClose closes the handle object and frees the underlying object. That's the whole vibe. No cap.

And the important part, bestie: connections to a resource are terminated only when the last session is closed. So don't think closing one session nukes everything β€” it doesn't. The last one out turns off the lights. πŸ’‘

πŸ’– RETURN VALUE πŸ’–

On success, VI_SUCCESS is returned. That's it. That's the tea. ✨

πŸ‘‘ SEE ALSO πŸ‘‘


okay that's the whole page! this was from LibreVISA, dated 27 January 2013, and it's the viClose(3visa) manual. bye bestie, go close those handles responsibly πŸ«ΆπŸ’–