08-03-2005 08:14 AM
08-03-2005 08:28 AM
As you can see, 120 is not too much for LV to handle, but it isn't a convenient structure. One suggestion would be to take the four elements, place them in a cluster and place that cluster in an array. That way you can have 2 1D arrays or 1 2D array. Then, if you want to make all invisible, you can simply make the array invisible. This will take up less space, be easier to handle and will be faster.
You don't need to close the references unless you explicitly open them. They will be closed when the top level VI will be closed. You can also see that when you close them it doubles the time it takes the VI to run.
08-04-2005 03:26 AM
08-04-2005 03:55 AM
08-04-2005 04:57 AM
Your situation looks highly regular, you are taking all the controls in the cluster not leaving out any at all.
Does it come out much faster setting the visibility in batches like you have done rather than the simplistic approach of running the control references into a for loop as many times as you have elements?
I have had mixed success using a large boolean indicator which is Transparent when True and the background color when False. It seems to be quite quick and you can play with setting the Z-Order of the controls at edit time to leave some visible and others not when the boolean is background color. Use the Square boolean from the Classic Controls sub panel.
08-04-2005 06:40 AM
08-04-2005 06:43 AM