Example Program Drafts

Showing results for 
Search instead for 
Did you mean: 

Programmatically Hide Front Panel when in Run Time Mode

by Active Participant Ashish_Naik_NIUK on ‎12-21-2010 09:21 AM

Introduction

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).

front panel hide.png

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.

4.      Enjoy!

Additional Notes

Needs LabVIEW Professional