LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how do i build my application? when i build my application i get error 7 & 8.

On building my application i get error message 7 & 8, when i run my application. These messages indicate that file not found & invalid data in file. but the file is present in the data folder made during build & the file also contains the required data.
0 Kudos
Message 1 of 3
(2,813 Views)
On 'building your application'...do you mean building/creating an .exe and running from the .exe or simply creating and running your VI as a VI?
If your VI gives no errors, then the problem is in your build; if your VI gives errors, then your VI has the error, and you should confirm the 'file reference/refnum' is correct. As for the invalid data - it may be cured when you've checked the file location/reference. Just some ideas - Good Luck - Doug.
0 Kudos
Message 2 of 3
(2,813 Views)
If you've used relative path references, these all change when you've built an application. This is because the VI is now inside an .exe, .llb, or .dll. If that's the case, you'll have to do an extra strip path. You can check this by doing a development distribution to create a .llb that you can debug and check the paths. To make a program work in both development mode and as a built application, you can add some code to detect either condition. What I do is use an Open Application Reference and then an Application Kind property node. The property node will return Development System, Run Time System, etc.
0 Kudos
Message 3 of 3
(2,813 Views)