LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

vision missing files in executable

Hi, I am using vision software to do some image analysis. I made a project on one computer and built it into an executable. On the computer where it was created, it works fine, but this program is to be used on another computer. The second computer also has labview and vision installed (same version), but when I try to run the executable, it tells me about 15 of the subvis in IMAQ functions are missing. I figured the installation of vision was corrupted on the computer, but then I opened the main vi (instead of the executable) and it worked fine. So is there any reason that the vi would work on both computers but the executable would only work on one computer?
Jeff


Using Labview 7 Express
0 Kudos
Message 1 of 4
(2,845 Views)
Maybe some VI are dynamically called, which is ok in development, but when not included in the executable it will not execute that part.

You can always add the 15 VI as dynamic VI's in your build script.
Regards,
André (CLA, CLED)
0 Kudos
Message 2 of 4
(2,842 Views)
I decided since I had labview on the 2nd computer and it was the only computer where the program would be run, that I would build it into an executable on that computer (exactly the same way I did on the first computer)...but it still doesnt work. Basically I had
1)Project on computer A
2) Built executable of project on computer A
3) Executable and project both work on computer A
4) Transferred everything to computer B (that also has labview and vision)
5) Executable says it is missing files when I attempt to run on computer B
6) Project runs fine on computer B
7) I build an executable on computer B from the working project (the same way I did on computer A)
😎 Executable tells me it is missing files. 
Jeff


Using Labview 7 Express
0 Kudos
Message 3 of 4
(2,838 Views)
....and then about 5 minutes later when I was demonstrating this error to someone else as the reason I hadn't finished the executable....there was no error to be found and it worked perfectly.
Jeff


Using Labview 7 Express
0 Kudos
Message 4 of 4
(2,834 Views)