DOKK / manpages / debian 11 / libvisa-dev / viClose.3visa.en
viClose(3visa) LibreVISA Programmers' Manual viClose(3visa)

viClose - Close a handle to a VISA session, find list or event

#include <visa.h>

ViStatus viClose(ViObject object);

Closes the handle object and frees the underlying object. Connections to a resource are terminated only when the last session is closed.

On success, VI_SUCCESS is returned.

viOpen(3visa), viOpenDefaultRM(3visa), viFindRsrc(3visa), visa(7visa)

27 January 2013 LibreVISA