LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

subpanel not visible when building executable

I am working on a project where I have a main VI with three subpanels (each subpanel is on a different page of a tab control). I the main VI I load a different subVI in every subpanel. Each of these subVIs is a QSM (queued state machine). Everything works fine, until i create an executable. When running the executable, one subVI's FP is not visible in its corresponding subpanel. I stripped all subVIs down to bare QSMs (no functionality except for the states: EXIT, IDLE, ERROR, INITIALISE) to find out if the problem still remained, build an executable and voila, all three subpanels show. The subVI that does not show before I stripped it contains VISA read,write, find resource VIs to enable communication.

 

I also got this error when building executables:

 

An error occurred while building the application. Either you do not have the correct permissions to create the application at the specified location or the application is in use.

Invoke Node in AB_EXE.lvclass:Build.vi->AB_Engine_Build.vi->AB_Build_Invoke.vi->AB_Build_Invoke.vi.ProxyCaller <APPEND> Method Name: <b>Build:Application</b>

Details:

Visit the Request Support page at ni.com/ask to learn more about resolving this problem. Use the following information as a reference:

Error 8 occurred at AB_EXE.lvclass:Build.vi -> AB_Engine_Build.vi -> AB_Build_Invoke.vi -> AB_Build_Invoke.vi.ProxyCaller

Possible reason(s):

LabVIEW:  File permission error. You do not have the correct permissions for the file.

 

but not every time and I don't think it is related to the problem I describe here.

 

To prevent having to start adding all the functionality to my empty QSM subVIs until I find where it goes wrong, does anyone have a suggestion what might cause a subVI not being visible in a subpanel in an executable where everything works fine in the development environment? 

 

0 Kudos
Message 1 of 4
(3,241 Views)

Going after the low hanging fruit...

Sounds like you are calling your subVI's dynamically....?  If so are you including each of them in the Always Included field of the build?Capture.PNG

0 Kudos
Message 2 of 4
(3,223 Views)

I tried what you suggested but it did not help.

0 Kudos
Message 3 of 4
(3,204 Views)

For the completeness of this thread, see here for the solution.

Cédric | NI Belgium
0 Kudos
Message 4 of 4
(3,165 Views)