I have created a vi in my application that I run as a thread. I run the thread by using an invoke node.
When I am testing under LabView everything is fine but when I create the executable I have found problems.
As I am starting the thread with an invoke node, the vi does not show in the application builder unless I add it as a top level vi. When I add it as a top level vi, the panel is shown when I run the application.
I don't want to show the panel because firstly theres nothing on it anyway and secondly it looks untidy.
Did you try adding the vi using "Add Dynamic VI" in the application builder? If you add it as a Dynamic vi instead of a top level then you should be able to run it without displaying its front panel. Hope this helps, let us know if it doesn't.
I tried that already with no effect. I have attached an example of my problem. This shows a meter on the front panel. A vi running as a thread writes a value to a global every 20ms and this is then read by the front panel and written to the meter.