ViStatus viOpenDefaultRM(ViSession *resource_manager);
DESCRIPTIONThis 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.
RETURN VALUEOn 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.