11-11-2010 09:21 AM
In LabVIEW there is a"VISA Resource Name" control which lists all the VISA resources, is automatically updated when devices are plugged or un-plugged, and has a Browse functionality.
With CVI you can use NIDAQmx_NewDeviceCtrl( ) on a string control, but this lists only the DAQmx resources.
Is there another function I can use to have all the VISA resources listed?
Solved! Go to Solution.
11-11-2010 09:48 AM - edited 11-11-2010 09:52 AM
there is the function viFindRsrc which you can use to programmatically find all available resources, see here
11-11-2010 09:52 AM
there is the function viFindRsrc which you can use to programmatically find all available resources.
I didn't write in my post, but I've already looked at this function.
The problem is that I have to write code to update the VISA resource list, periodically calling this function.
I prefer an automatic function.
11-12-2010 03:28 AM
Hi Vix,
it seems to be the only solution. Here you can find also an example.
Hope it helps!
Bye,
Licia