You are able to see all the open VISA sessions in LabVIEW following the instructions detailed in How to Acquire a List of Open VISA Sessions in LabVIEW
. The image below demonstrates how failing to close VISA Sessions can result in many open sessions using the same VISA resource:
However, if you are using third party drivers in your application that work with handles generated in LabVIEW these will not show up when using this tool and will remain undetected so ensure you are closing of all sessions created by third party drivers.
This error code can also occur if there is a problem with one of your driver installations. For more information on how to troubleshoot installation problems, see Troubleshooting Hardware Installation Problems
. For example, if it is a GPIB device, make sure the NI-488.2 driver is installed and working. The same is true for VXI devices and the NI-VXI driver.