07-28-2016 06:18 AM
Hi, I am new to Device Instrumentation in LabVIEW. I found that NI Resource Finder Function gives a list of all connected devices in the form "GPIB::0::INSTR". But how am I supposed to find what type of device is connected? I think querying the device will be fine. But I am trying to detect 34401A and 3458A through VISA Resouce finder and they have different queries(IDN? and ID?). How can I get the instrument details that are connected?
07-28-2016 06:29 AM
Why is the one type using ID? instead of IDN? which is the standard?
I'd just go ahead through the list and query each one with IDN? since that is the standard. If something doesn't reply, then query that same device with ID? Keep your timeouts shorter, perhaps 2 seconds, but at least long enough that even a device that takes a bit longer than normal has a chance to respond. A default of 10 second timeout would seem to take forever each time a device doesn't respond to a query.
07-29-2016 02:33 AM
Thanks for the timely reply RavensFan. I hope this will help.:-)