09-25-2013 08:33 AM
Hi all,
Is it possible to get at the label name of an XControl placed on a front panel from inside the XControl?
I want to set some labels in the XControl facade to the name that the XControl is given on a front panel.
Thanks
Solved! Go to Solution.
09-26-2013 04:15 AM
Hey Toad,
I'm a little unsure of what you're trying to do. Getting at the label of the XControl in LabVIEW is easy enough, it's just a property node.
Are you saying that you want the XControl labels on the facade to take the name of the XControl?
Chris
09-26-2013 04:18 AM
Hi Chris,
Thanks for the reply.
I'm trying to get at the name the XControl is given when it is placed on a front panel vi.
I'm not sure what this term is called: the variable name? the instance name?
I'm hoping to access that value from inside the XControl so that a label inside the XControl will display in its facade what the variable/instance name for the XControl is on the front panel.
Phill
09-26-2013 06:41 AM
So you want a self-aware XControl?
This will do it. Take the refnum in your "Container State" and do the following
Shane.
09-26-2013 10:10 AM
Hi Intaris,
Perfect!
Thank you very much.
P