Real-Time Measurement and Control

cancel
Showing results for 
Search instead for 
Did you mean: 

Preventing front panels from opening Labview RT?

I have a cRio-9073, and am trying to prevent the VIs running on the cRio from opening their front panels when the VI starts.  I don't need any of the information on the front panels, and I don't want the cRio to have to do any processing to maintain the front panel.  I know I can close the front panel when the VI starts, but does this release the resources used to update the front panel?

0 Kudos
Message 1 of 3
(3,168 Views)

The best practice is do not use any front panel activities, like large arrays for displaying data. There is another way to use defer front panel activity by using related functions. Front panel of sub vi's is automatically removed while compiling code into RT.

You can use System Manager to view memory & CPU consumption of your RT system.

For in depth memory analysis you can use Performance & memory module under: Tools>>Profile>>Performance & Memory... 

0 Kudos
Message 2 of 3
(3,160 Views)

Hi JoshT185,

 

If you deploy a VI to an RT target as a startup application, then the VIs will not have a Front Panel in the UI sense.  The front panel terminals will be treated as constants on the block diagram and won't update.  However, if you run a VI from the project to the RT target without building a startup, then you will have a Front Panel which will be wasting processing time.

 


Here's some information about how to create a startup executable and if you don't have Application Builder, how to set a VI to run at startup.

Jared S.
Applications Engineering
National Instruments
0 Kudos
Message 3 of 3
(3,141 Views)