Provided by: libvisa-dev_0.0.20130812-2.2_amd64
viOpenDefaultRM - Create and return a handle to the default VISA resource manager
#include <visa.h> ViStatus viOpenDefaultRM(ViSession *resource_manager);
This function creates a new handle referencing the default VISA resource manager, and stores it at the address given by the resource_manager parameter. This handle can then be used to find and open instruments or instrument buses. This is typically the first function invoked by client applications. When the handle is no longer needed, it should be closed using the viClose() function.
On success, VI_SUCCESS is returned, and the new handle is stored at the given address. On failure, an error code is returned, and the new handle initialized to VI_NULL.
viClose(3visa), viFindRsrc(3visa), viOpen(3visa), visa(7visa)