12-02-2009 05:00 AM
Hi all,
There are two questions i have.
1. Is there a way to get references of all GPIB instruments connected to a PC PROGRAMMATICALLY? I just want to run a module in a PC which will get the instrument names connected to that PC.
2. How can i get my PC name programmatically? (I know this is easy question. I will anyway find it sooner. But just want to save some time in it by getting your suggestions)
Thanks in advance
Regards,
Muthuraman S
12-02-2009 06:58 AM
You don't mention which programming language you are using. That's pretty important information to provide but let's assume it's LabVIEW.
You can use the VISA Find Resource to identify every VISA Resource. This will work as long as you have done a scan for instruments in MAX. More robust would be to duplicate what is done in MAX. Turn on NI-Spy and perform the scan. Duplicate the NI-Spy capture with the low level GPIB functions.
12-03-2009 07:01 AM
Well. I am using LabVIEW only. Sorry for not mentioning before.
I could find the nodes.
Thanks.