LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

application visa open

I have a built application .exe that was working. The customer upgraded to windows xp and now the application will not initialize the instrument being used. I have built a new application with just the initialize for the instrument and I get an error from the VISA open vi. Anyone have any ideas?
 
Terrill 
0 Kudos
Message 1 of 10
(3,538 Views)
After the upgrade, was MAX, VISA, and GPIB reinstalled? You typically have to run the GPIB confguration again (assuming GPIB instrument) also. Before running your LabVIEW program, make sure you can communicate to the instrument in MAX.
0 Kudos
Message 2 of 10
(3,537 Views)
I would not think these would need to be installed at all for an application. Runtime versions should be included in the application. Do I have the right to install them on a non licensed PC?
 
Sorry, I forgot to add that I can communicate fine with the GPIB instrument in Measurement and Automation explorer.
0 Kudos
Message 3 of 10
(3,530 Views)

Of course they need to be installed. No hardware drivers (i.e. GPIB, DAQ) are included. The only thing the installer includes is a run-time version of VISA for serial support and you have to specifically select that. The GPIB/VISA license is included with the GPIB board for the system and in any case, NI has recently loosened their VISA license agreement.

However, since you can communicate with the instrument in MAX, that means that the software is installed and working. My concern was that they might have done a fresh install of XP instead of an upgrade. A fresh install will erase everything that was the pc. Does the LabVIEW program return an error code? What is it? Are you using VISA aliases?

0 Kudos
Message 4 of 10
(3,527 Views)
I don't know what I was thinking with the GPIB.  I uninstalled it and reinstalled it just to try it. I can still communicate with the instrument I still get the visa open error. Error # -1073807343 - VISA Open in... Some other guy tried to fix this beforeit was handed to me so I am not sure exactly what has done already and I think they did do a fresh install of xp. I think this is solely a visa thing. This works on my normal pc.
0 Kudos
Message 5 of 10
(3,517 Views)

Error code explaination:

 

Error -1073807343 occurred at VISA Open in HP6050A-51A Initialize.vi

Possible reason(s):

VISA:  (Hex 0xBFFF0011) Insufficient location information or the device or resource is not present in the system.

0 Kudos
Message 6 of 10
(3,511 Views)
Sorry for the multiple posts. I am a little slow today. I am not using any aliases. I input gpib::5 into the visa open which is what shows up on MAX. I am also using a USB GPIB-B gpib interface.
0 Kudos
Message 7 of 10
(3,509 Views)
One to to check is to see whether VISA got installed along with the GPIB driver. If I remember correctly, the NI-488 installation from CD does not do this as the default. So, it's possible that MAX can detect the instrument because it's using the low level GPIB functions like ibwrt and ibrd but not be able to communicate with VISA. MAX will list whether VISA is installed.
0 Kudos
Message 8 of 10
(3,504 Views)

I installed the visa runtime engine and it fixed the problem. I thought this was installed by the installer created by the aplication builder if the all the support items were checked? I know I have not done this in the past. Maybee the installer thought is was installed already somehow. Thanks for your help.

 

Terrill

0 Kudos
Message 9 of 10
(3,499 Views)
No. The VISA run-time engine has never been part of the application builder install. As I said, the only part of VISA that will be installed is a serial only engine. My guess would be that whenever or whoever installed the GPIB board in the pc, also installed the drivers per the instructions that come with the board.
0 Kudos
Message 10 of 10
(3,495 Views)