09-02-2009 06:23 PM
Hi,
Basically I have two same size arrays for control and indicator.
If I enable some elements in "array", and I like to see "indicator" array to blink
during the execution.
Labview version used: 8.6.1
I attached test case for your reference.
Can someone help me on this?
Thanks.
Solved! Go to Solution.
09-02-2009 09:00 PM
It's not clear what you want to do.
What do you mean by "enable some array elements"?
When I run your VI, all kinds of weird things happen. For one, I don't know why your Array control blinks since you don't have any property nodes associated with it.
I don't know why you have the one array called "Indicator" and it is actually a control.
Can you more clearly state what it is you are trying to do and why?
09-03-2009 11:16 AM
O.K.
Basically I want show using "indicator" to blink if the "array" is enabled.
For example, if I click the one element on "array", I want to have
such a relationship with "indicator" so that it blink while it is running.
The "running" is simulated by timer with 2000ms.
Thank you in advance.
09-03-2009 11:27 AM
Hi,
I have attached simpler version.
In this one you will see property node called, "arryElem.Blinking".
My question is how do I associate this node to specific element,
so that I only blinks the one I enabled by control array.
Thanks.
09-03-2009 12:01 PM
Hi horanyee,
in an array all elements share the same properties, the only difference is the value of the element.
So when you set one element to blink, all elements blink...
In a cluster you can set individual properties for the elements!
09-03-2009 01:57 PM
I too have often wanted to call attention to a given array element. I either change it to a cluster or give up.
The only method I know of is to programmatically select an element...
09-03-2009 02:09 PM
Broken Arrow wrote:I too have often wanted to call attention to a given array element. I either change it to a cluster or give up.
The only method I know of is to programmatically select an element...
Idea market? How about putting all those elements in another array? 😄
09-03-2009 02:54 PM
09-03-2009 05:34 PM
Two hacks for the price of one. Even after customizing the Blink foreground color, I found that blinking boolean arrays were annoying at best to downright buggy on my system (LV8.2.1). Just moving the mouse over the indicator would cause trouble. Plus, I sometimes like to change the blinking color programatically. Hence hack #1, the old standby of using a timing loop to alternate the True color of the boolean elements.
The second hack is just there since it was a convenient starting VI to implement the first hack, the control array allows at most one true element. If you don't want this behavior, simply remove the boolean mess in the event case and wire NewVal to the indicator array. I have an alternative which forces at least one element to be true.
09-03-2009 05:35 PM - edited 09-03-2009 05:35 PM