LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

I cant find my GPIB device in the VISA resources list

Hello all,

 

I'm having the same problem as all other posters. However, LabVIEW can find the GPIB instrument on a laptop with the developer version of labview, It is only when I use the executable that is installed on another machine that it has problems.  

 

The measurement and automation explorer can find the device and communicate with it from both machines.

 

So far, I tried re-installing the GPIB-USB-HS driver,

 

Has anyone come up with a solution to this problem? Any help is greatly appreciated.

 

Thank you.

0 Kudos
Message 11 of 21
(2,148 Views)

What kind of 'problems'? What is the error code you get? Did you install the NI-VISA runtime?

0 Kudos
Message 12 of 21
(2,138 Views)

Hello Dennis,

 

In one of my VI dialogs, I have a VISA Resource drop down control. When I am on a computer with LabVIEW 2010 developer suite, I can see my attached device, an agilent PNA-L through GPIB-USB-B, in the dropdown menu as GPIB0::10::INSTR. When I check the same drop down menu on another machine that is running only the installed executable, the instrument is not there. Interestingly enough, I can see the device and communicate with it using MAX. I also made sure the cable was connected to the machine in both senerios above. Also, both machines were using the executable.

 

Good call on the visa runtime. However, I did install the visa runtime, checked to make sure it was up to date, and re-installed it after the failure just to be sure.

 

Another item that is odd to me is that it does not work if I manually type in the VISA address. That causes the program to lock up.

 

Thanks for taking a look into this.

 

0 Kudos
Message 13 of 21
(2,133 Views)

Ugh, I can't remember what the file name is, but there's a text file generated by MAX that contains the VISA refs.  Assuming the test benches are set up identically, you should be able to copy this file.  MAX should then use that file the next time it starts up.

Bill
CLD
(Mid-Level minion.)
My support system ensures that I don't look totally incompetent.
Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.
Humble author of the CLAD Nugget.
Message 14 of 21
(2,110 Views)

That sounds interesting ... I took that course too, except I took it in 2008. Do you know if that topic is in the course manuals anywhere?

0 Kudos
Message 15 of 21
(2,107 Views)

I believe this may be what you're looking for:

 

Where are NI-VISA aliases stored?

 

Let me know if that's the right one, or if it was a different file.

 

Tim W.

Applications Engineering

National Instruments

http://www.ni.com/support

 

 

 

Message 16 of 21
(2,095 Views)

Guessing-  but It does work now and thenSmiley Happy

~~~~oh magic 8-ball.  did the OP install the Agilient IO Library Suite on the target machine?~~~~~~

 

"It is uncertain........."


"Should be" isn't "Is" -Jay
0 Kudos
Message 17 of 21
(2,093 Views)

I did install the Agilent IO on the machine with only the installer. It was just a zip file that I put under <LabVIEW>\instr.lib\. 

 

That didn't work. Can't seem to find the silver bullet.

0 Kudos
Message 18 of 21
(2,089 Views)

Yeah, Tim - that's the file I was talking about.  I didn't realize that later versions of MAX had an alias editor. Thanks for that info!

Bill
CLD
(Mid-Level minion.)
My support system ensures that I don't look totally incompetent.
Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.
Humble author of the CLAD Nugget.
0 Kudos
Message 19 of 21
(2,073 Views)

Mike, Thank you.  I had not realized this subtle issue about the serial visa versus the general visa.  an engineer at Keithley sent me some new drivers that worked well for my device.  But now I know a little bit more also about the guts of the beast.

 

Cheers,

Ryan

0 Kudos
Message 20 of 21
(2,069 Views)