Hi Greg,
thanks for your help, but i think that i found a better solution.
At the beginning i create references for all needed controls and pack
them into a cluster. So i can directly retrieve the reference and don't
have to cast it anyway. I have to do that cause a Sub-VI analyses the
data and have to make updates. For that way the Frontpanel of the
Main-VI couldn't help me.
Regards
Henrik
Greg McKaskle schrieb:
>
> The problem is that the property nodes are being wired a
> refnum wire that is typed to be control class, not the
> more specific controls within it. The solution is to
> cast the control references to the more specific type
> that you need. If it succeeds without error, then you
> can execute the property node. If for
example, your
> cluster has a Boolean in it and you try to cast it to
> a slide, it will return an error. The property node
> will not do nothing, and you can execute the next in the
> array.
>
> One other point. If you really need an attribute to an
> element in a cluster, go to the panel, popup on the element
> within the cluster, and Create a Property node. These
> elements don't have terminals, so they can't be created
> from the diagram, but that just means you need to use the
> panel.
>
> Greg McKaskle