04-22-2013 11:04 AM
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?
04-22-2013 01:22 PM
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?
04-23-2013 06:05 AM
I tried what you suggested but it did not help.
05-06-2013 06:36 AM
For the completeness of this thread, see here for the solution.