10-21-2011 02:57 PM
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.
10-21-2011 04:25 PM
What kind of 'problems'? What is the error code you get? Did you install the NI-VISA runtime?
10-21-2011 04:36 PM
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.
10-24-2011 10:19 AM
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.
10-24-2011 10:48 AM
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?
10-24-2011 12:58 PM
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
10-24-2011 01:15 PM
Guessing- but It does work now and then
~~~~oh magic 8-ball. did the OP install the Agilient IO Library Suite on the target machine?~~~~~~
"It is uncertain........."
10-24-2011 01:43 PM
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.
10-24-2011 06:24 PM
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!
10-24-2011 07:16 PM
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