04-03-2009 08:19 AM
Hello 2 all !
Here is what i'm trying to do :
- i have a cluster of 3 elements : 2 boolean controls and 1 arrow.
- i want to make every object in the cluster appear and dissapear in a sequential order like : boolean - invisible; arrow - invisible, boolean - visible; arrow-visible, boolean 2 -invisible and so on.
I've attached a vi in wich i've tried to deal with this issue but with no luck.
Any ideas ?
Thank you very much!
Andrew.
Solved! Go to Solution.
04-03-2009 08:27 AM - edited 04-03-2009 08:31 AM
Hi Andrew,
use a property node to be able to connect the refnum to it.
Mike
04-03-2009 08:49 AM
Andrew,
Make the arrow a boolean control with a picture of an arrow. Then all the controls are booleans and the visibility can be controlled by a simple loop.
Lynn
04-03-2009 10:46 AM
Thank you 4 your quick answers !
MikeS81 wrote:Hi Andrew,
use a property node to be able to connect the refnum to it.
Mike
Message Edited by MikeS81 on 04-03-2009 03:31 PM
As u can see in the original vi, i've already used property nodes but with no succes. (there was a type missmatch error).
Can u point out to me where was the mistake in the original vi ?
I ask this because i am still learning LabView and your opinion would be very useful 2 me.
Also a big "thank you" to johnsold !
04-03-2009 10:52 AM
04-03-2009 11:53 AM
You can also use Link to... to select the control to which you want the property node to link.
To get a property node for the decoration is a little more involved. One way to do it (there are usually several ways to do something in LV) is to drop a new property node from the Application Control palette. Then Select Class >> VI Server >> Generic >> GObject >> Decoration >> Decoration. Obvious to a beginner, right???
Here is another version of your program showing this method.
Lynn
04-04-2009 01:58 AM
Thank you all 4 your time and interest !
Indeed the solution proposed by johnsold is very very simple .
The first solution was also interesting...i didn't realyze that i could create a boolean control from a arrow.
Thank you 4 pointing this simple approach to me.
Guess i still have lots and lots to learn about LabView... but i must say it is a real treat !
Excelent software ! Good work NI !