Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Error: Visa or a code library required by Visa could not be located or loaded

Hi evryone,

 

I got a problem with Run-Time Labview.

I'll try to make clear my porblem as much as I can.

I have build a Labview VI to control Through LAN connection a Arbitrary Function Generator. To find the IP address of my instrument I have used The Measurement & and Automation Explorer (MAX).So Basically my Application starts with a Visa open function which has like input the Alias of the Instrument that I have choosen from MAX.

From the Main Vi project I have build also the apllication for Labview Run Time (The labview version is the same of the Run time verison). If try to run from my PC either my applicaiton or VI project everything works fine.

I have copied my applicaiton(.exe) and run it on a different pc that as the right run time verison and I'm sure that this PC can see the instrument because I can ping it. The network settings are fine. Now when i try to run the application appears a Visa error pop-up that says:"Visa or a code library required by Visa could not be located or loaded."

How Can I undesrtand where is the error? Run time allows you to tun only the applicaiton and I don't have a debugging tool like in Labview

 

Thanks

Pierpaolo

 

0 Kudos
Message 1 of 6
(5,536 Views)

It seems that visa runtime is not installed on the runtime system.

Did you build an installer from your project and also selected VISA to be installed?

greetings from the Netherlands
0 Kudos
Message 2 of 6
(5,534 Views)

As has been discussed numerous times, the LabVIEW run time does NOT include any hardware drivers such as NI-VISA. You must include the NI-VISA runtime in your installer. It's also simple to include MAX with the existing hardware config so you actually do have some debugging capability.

0 Kudos
Message 3 of 6
(5,534 Views)

Ok sorry if I posted somenthig that as been already discussed.

To include NI-VISA runt time in my installer and MAX with the Hardware config How can I do?Or better where I can find a tutorial that explain me the right steps to follow? 

0 Kudos
Message 4 of 6
(5,529 Views)

After creating the Installer from the project, the best thing to do is to click on the Help button. There, you will see information on the Additional Installers and Hardware Configuration categories.

0 Kudos
Message 5 of 6
(5,525 Views)

Thanks for you help

0 Kudos
Message 6 of 6
(5,522 Views)