Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Instruments connected TO pc

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

Regards,
Muthuraman
0 Kudos
Message 1 of 3
(3,364 Views)

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.

0 Kudos
Message 2 of 3
(3,353 Views)

Well. I am using LabVIEW only. Sorry for not mentioning before.

I could find the nodes. 

Thanks.

Regards,
Muthuraman
0 Kudos
Message 3 of 3
(3,321 Views)