ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Arrays touching on front panel slows down VI.

I have written a VI which downloads and displays 2 Arrays of Spacecraft Telemetry packets. If I arrange the arrays on the front panel so that they are touching (to look neater), the VI slows to a fraction of its original speed. Why is this? I wasted 3 days trying to understand what had gone wrong with my code, when it turned out to be a cosmetic problem. I can send you a copy of the VI along with instructions on how to reproduce the problem if you like.
0 Kudos
Message 1 of 4
(2,776 Views)
Andy, I can easily reproduce the same symptoms with any 2 arrays. Apparently, if 2 or more arrays are touching, much time is spent writing the results in each array, however, a continuous over-writing of the other "touching" arrays also occurs. This over-writing of the overlapping arrays takes a lot of processing time - as per your comments. As for the fix - keep the edges apart. Good luck - Doug
Message 2 of 4
(2,776 Views)
As with CapeFl, I also have been able to duplicate your problem (LV 6.0.2 on Win95). However, once the arrays are touching, if I select one and tell it to "move to front" by highlighting it, selecting the Reorder drop-down from the toolbar and select "move to front", the problem disappears. Evidently has something to do with 2 arrays on the same level overlapping, and trying to update. Therefore, you can have your front panel the way you want it.

Mark
Message 3 of 4
(2,776 Views)
Mark...and thus the benefit of message boards such as this. Even though it wasn't my question, I went ahead and did what you stated and sure enough - that's the solution. Thanks, CapeFl/Doug
0 Kudos
Message 4 of 4
(2,776 Views)