Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

How identify the GPIB Address and VISA interface ID (LABVIEW)

Hi,

I want my VI automatically identify / detect which GPIB addresses are connected. Also, is it possible to query an instrument, such as "*IDN?" as MAX do it.

 

I found the "viFindRsrc" function for VB but I´m not sure how to do it with LabView.

 

I'll apreciate your advices!!

 

Cesar

0 Kudos
Message 1 of 3
(4,640 Views)
Turn on NI-Spy/NI-Trace and do a scan for instruments. You will get the exact GPIB commands you need to find all instruments.

The VISA Find Resources is on the VISA palette. Of course, it will only list those that have been already found by MAX.

Why do you need this? Are you turning instruments off and not refreshing MAX when they are turned back on? If so, you'll probably have to manually update the visaconf.ini file after the search that you do.
0 Kudos
Message 2 of 3
(4,632 Views)

Hi Dennis,

 

The big "problem" is that I'm developing some applications (build as *.exe file) to customer that don't is a programmer/engineer/technical skills.

 

So, I want that if they connect several instruments with different address doesn't have issues like the addres is different.

 

Thanks by the advice.

0 Kudos
Message 3 of 3
(4,629 Views)