LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Why does my application give an application error?

I've Built an application which interfaces with a ISA or PCI card. The application runs on the PC on which it was built but gives a Application error (Exception in LVRT.dll) when it trys to access the cards on another PC. (I've installed LVRT) IF i run labview over the network I can make the VI run so it not a hardware problem. Any Helpful hints
0 Kudos
Message 1 of 3
(2,305 Views)
Don't know about the drivers (dll's ?) that you are using to communicate with your ISA or PCI card so I can only make a couple of suggestions:

1. Be sure the lvrt.dll version is the same on all machines. In Windows Explorer, you can right mouse click on the file and select Properties to view version info.

2. Make sure the ISA or PCI driver is in the search path. I would also check to make sure the versions
of the drivers on the development machine are the same on the target machine.

3. Creat an INI file for your EXE. The following webpage contains an example that will make the INI file for you:

http://zone.ni.com/devzone/explprog.nsf/6c163603265406328625682a006ed37d/44bf2a60a7a3188786256774004ea312?OpenDocument

Chris_Mitchell
Product Development Engineer
Certified LabVIEW Architect

0 Kudos
Message 2 of 3
(2,305 Views)
Thanks Archimedes, I discovered that it was the Global variable I was using for the base address of the cards. I used a sub vi to change it and then for some reason any other vi using that global variable crashed. I've now put it in a CFG file and the program runs ok. Any points on why I can't just change the Global variable, instaed of havingto write it to disk in a cfg file?
0 Kudos
Message 3 of 3
(2,305 Views)