04-20-2009 04:14 PM
Solved! Go to Solution.
04-20-2009 05:27 PM - edited 04-20-2009 05:27 PM
You can read the "label.text" property.
04-20-2009 06:37 PM
04-20-2009 08:29 PM
You could use Altenbach's code as a VI and wire in a reference to the property node. Does that make sense or do you need more help?
04-20-2009 08:42 PM
I think i need more help.
I created a suvbi that looks like Altenbach's code, i connected a terminal to the indicator, but whenever I use that subvi and input a variable, the label does not pass to the indicator in the subvi so as an output i get the label of the indicator inside the vi.
04-20-2009 08:44 PM
04-20-2009 09:05 PM
Code and image attached (I'm using 8.2)
First of all, the reference is a control -- it's connected to the connector pane.
This will only work for numerics. I figured out a way to get it to work for generic references, but I didn't do it yet and it's probably too much work unless you really need it. There might be an easier way...
When you this subVI from another VI, you would connect a reference to the object whose label you want to the input terminal.
Let me know how it goes...
04-20-2009 09:06 PM
04-20-2009 09:23 PM
It seems to do the job. I have no idea what those control refnum are but hopefuly I'll figure out eventually (I just started using LabView 3 days ago 😞 ).
Thank you !
04-20-2009 09:37 PM