06-21-2012 02:00 PM
Hello,
I'm having problems when I write to an array of clusters that contain guages.
I wrote an example program to illustrate the problem.
I create an array of cluster of [numeric, numeric].
I populate 4 elements of the array with data.
If I pull out each element with an Index Array function and write the data to 4 indicator clusters independently, I have no problems.
If I wire the 4 element array to an array of clusters, the needles on the guages won't redraw properly.
However, simply moving the mouse over the array element causes the display to redraw just that element.
I've played around with Synchronous Display and Defer Panel Updates but they don't seem to affect this behaviour.
Any thoughts?
A picture of the problem and the VI are attached.
Solved! Go to Solution.
06-21-2012 02:22 PM
06-21-2012 02:45 PM
I also confirm this behavior with LV2010. Strange indeed. I don't have any insight just yet as to the problem. I would be curious to hear others opinions.
06-21-2012 03:14 PM
It also happens on the Mac, so it likely is something within LV and not an OS or video driver issue.
Interestingly one element of the array (but not always the same element) seems to update properly while the others do not. Note Index 1 in the image. I saw it do this with Index 2 earlier. This also shows in the OPs image.
Lynn
06-21-2012 03:30 PM
@johnsold wrote:
Interestingly one element of the array (but not always the same element) seems to update properly while the others do not. Note Index 1 in the image. I saw it do this with Index 2 earlier. This also shows in the OPs image.
Lynn
I too witnessed this same behavior, but it was intermittent.
06-21-2012 04:29 PM
And ...
If I remove the clusters, having only discrete guages and an array of guages, the needles redraw properly but the guages themselves flicker.
I'll have to see if defer panel updates fixes the guage flicker.
07-09-2012 01:49 PM
I'm back on this project and wondering if anyone has a solution.
No response from NI?
07-09-2012 02:29 PM
When something like this shows up I usually try covering the offending control with a transparent 2D picture. Sometimes overlapping controls cause problems, sometimes they solve them.
07-09-2012 02:35 PM
Awesome! Thanks.