LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Does hiding controls/indicators on the front panel significantly effect computer resource consumption?

I remember reading something about transparent controls and indicators leading to overhead processing... does hiding controls/indicators have similar or ANY negative effects?
0 Kudos
Message 1 of 3
(2,701 Views)
> Does hiding controls/indicators on the front panel significantly
> effect computer resource consumption?
>
> I remember reading something about transparent controls and indicators
> leading to overhead processing... does hiding controls/indicators have
> similar or ANY negative effects?


Each time you show or hide the controls, there is a portion of the screen
that needs to be redrawn. This is similar to setting many other properties
or attributes. Hidden controls do not update when their terminal,
local, or
other properties are written to unless the property write is to make the
object visible.

Greg McKaskle
0 Kudos
Message 2 of 3
(2,701 Views)
There's a difference between "effecting resource consumption" and "affecting resource consumption" - I assume you mean "affect".

There's a difference between a transparent control and a hidden control - Hidden means the VISIBLE property is set to FALSE, and certain optimizations can be done - it doesn't have to draw anything. If a control is set to transparent, it will still go through the motions of converting that integer to text (or whatever), and then draw nothing (the decision is made later, so more time is taken).

A transparent control can still react to mouse clicks. A hidden one cannot.

It shouldn't affect any memory consumption, except for a video frame buffer.

It's not clear from the question whether you mean the ACT of hiding t
hem (the turning OFF of the visible property), or the fact that they may be hidden.
Steve Bird
Culverson Software - Elegant software that is a pleasure to use.
Culverson.com


LinkedIn

Blog for (mostly LabVIEW) programmers: Tips And Tricks

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