09-17-2004 08:13 AM
09-17-2004 08:54 AM
09-19-2004 09:19 PM
10-16-2006 07:44 AM
10-16-2006 08:30 AM - edited 10-16-2006 08:30 AM
It's really pretty simple. In the picture, I populate the items in combo box.
Message Edited by Dennis Knutson on 10-16-2006 07:30 AM
03-25-2020 03:39 AM - edited 03-25-2020 03:40 AM
Hi,
This is an old topic, but of current interest for me. I've used all the methos presented in this post. I found even another solution by using system configuration VI's as you can see in the attached picture.
However, none of this methods reproduce exaclty what Scan For Instruments from NI Max does. Sometimes, if i don't run the scan from instruments from NI max firstly, no matter what method of instrument identification in labview i use, some instruments won't be identified.
I've been thinking for a fourth solution, but i don't have the knolewdge yet to do it. It requires calling some DLLs or some .NETs i think. I've been playing with NI I\O Trace, and recorded the functions called when pressing the Scan For Instruments button form NI Max. However, i don't know where i can access those functions. I think there are in a DLL or .NET somewhere in the National Instruments -> Labview folder, but i don't know exactly where and how to call them. ( i know i have to use call dll vi or .net vi, but what would be the input parameters to call the functions, and where are those function stored so that i can access them).
Does anyone has any idea on how to approach this matter ? I would really appreciate if someone can offer me a perspective on how to do it !
Regards,
Daniel
03-25-2020 02:20 PM - edited 03-25-2020 02:31 PM
I would take the output of the "Find VISA Resources" vi (use the example Dennis showed above)
Then send the IEEE common command, identify querry (*IDN?) to every active GPIB address
Now you will have a list of what instrument is on what GPIB address just like Ni-Max