LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to change a boolean text of a button with only a refnum

I try to change the boolean text of a lot of a button on the front panel dynamically with the refnum. But I can only change the Caption text like in the attached vi. Is there any possibility to do this?
0 Kudos
Message 1 of 4
(2,771 Views)
Your VI wasn't attached, but since you say you want to control a lot of buttons, I'm guessing you don't have the boolean text property in the list of properties. If that is the case, you need to use the "To More Specific Class" VI before the property node to tell the property node that the reference is for a boolean and then you'll have the property booltext.text.

___________________
Try to take over the world!
0 Kudos
Message 2 of 4
(2,761 Views)
If you are trying to write to the label as opposed to the Boolean text, it is not writable when the VI is running. If you create a Label.Text property node, right click and select help for Text, you will get a list of characteristics.

Message Edited by Dennis Knutson on 03-22-2005 07:06 AM

0 Kudos
Message 3 of 4
(2,752 Views)
Thanks a lot for your information. My problem is solved. This is a very helpful community!
0 Kudos
Message 4 of 4
(2,739 Views)