No, there is no direct way to set the attribute node from a SubVI. If you
want to set the attribute of ControlA from outside its VI, you need another
control ControlB that is wired to that attribute of ControlA on the diagram.
from a subVI or anywhere else, you use a Set Conrol Value node to ControlB
to sets its value. Set Control Value is only one method to pass data from
one VI to another. You could use other methods like globals or notifiers to
pass the attibute value to the node.
John Cruz a écrit dans le message :
38d6c6f0@newsgroups.ni.com...
> thanks for the fast response BUT....
>
> are you referring to Invoke Node->Method->"Set Control Value" ? It only
> sets the value of the control (hence the name) and not
the attribute. If
> your not referring to that... could you point me out to where I can find
> that node?
>
> TIA,
>
> John
>
> "Jean-Pierre Drolet" wrote in message
> news:38d6aaee@newsgroups.ni.com...
> > You use the set value node to set a control of your top level VI. On the
> > diagram, this control set the attribute node.
> >
> > Jean-Pierre Drolet
> >
> > John Cruz a écrit dans le message :
> > 38d6a351@newsgroups.ni.com...
> > > Labview 5.1.1
> > > WinNT 4.0
> > >
> > > Hello.
> > >
> > > I'm trying to figure out how to retrieve and most importantly, set the
> > > attributes of a control from subvi. I remember seeing one post that
> says
> > > use the invoke node but all I could find close enough is the set/get
> > control
> > > values (not attributes).
> > >
> > > Could anyone point me how to solve this?
> > >
> > > TIA
> > > John
> > > http://www.johncruise.com
> > >
> > >
> > >
> >
> >
>
>