LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

compiling EXE problems (subpanel?)

hi
 
I have a big labview 7 application thats runs fine within labview, but when i compile it to an EXE I am getting an error message. (see attachment). I think the problem is a subpanel that being called, but i dont know why... it works fine when running in labview and other subpanels that are loaded in the standalone exe are working fine. I also uses striped paths, so that cant be the problem.. hope you can help me. error is in dutch sorry
 
thanx in advance
Labview CLD , Engineer/Manager

Promedes and DSM
using LV 7.1, 8.0, 8.2, 8.5 and 2009 SP1
http://www.promedes.nl
0 Kudos
Message 1 of 5
(3,572 Views)
update....
 
The problem is the subpanel indeed. I got an 1307 error  ion the invoke node. I dont have this problem when i using labview to run the program
 
thnx
Labview CLD , Engineer/Manager

Promedes and DSM
using LV 7.1, 8.0, 8.2, 8.5 and 2009 SP1
http://www.promedes.nl
0 Kudos
Message 2 of 5
(3,550 Views)
Maybe the application builder is removing the front panel from the sub-panel vi when you added it as a dynamic vi.
Message 3 of 5
(3,543 Views)

Hello,

Subpanel VI's are not added to the executable automaticaly because they are not part of the main VI in way as for example a subvi. They are dynamicly called by the main program and only loaded into memory when the main does a call to them. This means taht you have to add the VI's taht will be called as subpanel VI's as dynamic VI's when you build the executable. Did you do that? If not do the following:

In the application builder, got to the Sourcefiles tab. Click on Add Dynamic VI. Now browse the VI's you want to add and add them to the EXE. After you added all dynamic VI's build your exe again.

Hope this helps,

Regards,

RikP

Applications Engineering NI

Rik Prins, CLA, CLED
Software Development Engineer
Message 4 of 5
(3,525 Views)
that i didnt think of that.... Indeed the frontpanels of the subvi`s are being removed. Thnx Guys 😉
Labview CLD , Engineer/Manager

Promedes and DSM
using LV 7.1, 8.0, 8.2, 8.5 and 2009 SP1
http://www.promedes.nl
0 Kudos
Message 5 of 5
(3,521 Views)