This vi demonstrates how we can use VI Server architecture to hide a vi's front panel when in a Run Time System (i.e. .executable).
The App.Kind property node gives us information on the state of the application run mode. The vi's reference is used with the FP.Open Invoke node set to "Hidden" to hide the front panel when the application is run hidden.
Steps to Complete
1. Download code/snippet
2. Add this code to the start of your application. This will force this code to execute before any other code.
3. Build code within a project, and build executable.
Needs LabVIEW Professional