Is there any way that I can access/set the attributes on my controls and indicators from a SubVi? I know I can access/set the value with the VI Reference tools.
In my application I would like to change the colour of an object when the user clicks on it, but I need to do this from a subVi running in parallell.
/Nimrod
Sent via Deja.com http://www.deja.com/ Before you buy.
> Hi, > > Is there any way that I can access/set the attributes on my controls > and indicators from a SubVi? I know I can access/set the value with the > VI Reference tools. > > In my application I would like to change the colour of an object when > the user clicks on it, but I need to do this from a subVi running in > parallell.
You cant access the attributes directly but you can make hidden controls tied to the attributes that you can access using the "Invoke Node" .
In the situation you are talking about you will have to monitor the control to see if the user clicked it (changed state) then set the control tied to the attribute.