LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

slow interface

Hi,

I have tried a few user interfaces featuring tab controls with either
numerous terminals or large clustered structures in it. These interfaces
seem to considerably slow the whole processing.

Can anybody explain the mechanisms behind this behavior, and suggest
solutions (alternative data storage or display solutions, rules of
thumb, terminal disable options, tab control good practices.....) ?


Merci - oz
0 Kudos
Message 1 of 3
(2,800 Views)
Basically, the issue gets down to good interface design practices.
Very complex, graphicaly busy displays will take longer to open and
update--that's just the way the world works. You have to resist the
temptation to designing what I call a "wall o' numbers" interface.

Logically group values that go together and place those logical
groupings on different pages. This is where being in conversation with
the software's eventual end users will be of great help. Sometimes
things that seem logical to us come-out horrible for the users. Avoid
complex, busy interfaces and your users will love you -- and not just
because the code runs faster.

Mike...

Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion

"... after all, He's not a tame lion..."

For help with grief and grieving.
0 Kudos
Message 2 of 3
(2,800 Views)
> I have tried a few user interfaces featuring tab controls with either
> numerous terminals or large clustered structures in it. These interfaces
> seem to considerably slow the whole processing.
>
> Can anybody explain the mechanisms behind this behavior, and suggest
> solutions (alternative data storage or display solutions, rules of
> thumb, terminal disable options, tab control good practices.....) ?
>

I suspect the problem is that the controls are frequently being redrawn
due to property changes or value changes. Parts of the tab control have
to be redrawn when certain objects inside of it have to redraw.

By surrounding the sections of code that update lots of properties with
Defer Panel Updates properties, you can typically amortize the redraw
ing
and speed it up quite a bit.

It is also the case that the style of control placed in the tab has lots
of affect as does overlapping and transparency. You might want to
experiment a bit and see ow that helps.

Greg McKaskle
0 Kudos
Message 3 of 3
(2,800 Views)