LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

EXE on different machines

Good morning.
Faced with this problem:
collected EXE, checked all the work,
try to run it a different computer, it goes
the application runs, but when trying to run the application
by reference, falls Error 1003. And tried it on other computers
everything starts and runs fine. All computers installed XP SP2,
everywhere set Run Time. Prompt, plc, who faced the Takla problem does not
understand that in the enchanted car, why is there not working EXE?

0 Kudos
Message 1 of 6
(2,665 Views)

kayfolom,
error 1003 is explained as '.. VI .. not executable. Most likely the VI is broken or one of its subVIs cannot be located. ..'.
Running VIs be Ref does not necessarily include all components into the build. A typical solution for this problem is to place all dynamically loaded VIs into a "helper.vi"'s BD, without any wiring. That add that helper.vi into the dependencies-folder of your project. When building your exe all vis from helper.vi will be included into the exe.

Your code at this time might depend on some components from libraries, that are installed on some of the machines and not on others.

 

Greetings from Germany!
--
Uwe

0 Kudos
Message 2 of 6
(2,656 Views)

Thank you for your reply. The main thing that I can not understand why on one PC and it works all SubVI run, and the other does not.

0 Kudos
Message 3 of 6
(2,649 Views)

Having not seen the different machines, in fact there are some components that the application loader can find on one machine and not on others. Maybe those components are not stored on the other machines or their path is not in the search path system variable or whatever. You may try to load that specific vi manually, that you probably get an error message what components is missing.

0 Kudos
Message 4 of 6
(2,647 Views)

What components do you mean?

0 Kudos
Message 5 of 6
(2,646 Views)

Well, whatever you do on your BD, you probably use some of LVs or other libraries. And those probably do the same. Finally You end up with a whole hierarchy of vis and nodes that make up your vi to be loaded. Not to talk about some other tools like dlls or similar. Those are meant by 'components'.

Greetings from Germany!
--
Uwe

0 Kudos
Message 6 of 6
(2,641 Views)