LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

ok button cluster property node (LV7.1)

Solved!
Go to solution

Hi folks,

 

I already found a fix for my issue, but I was wondering if anyone could put some logic to this.  I created a cluster of Booleans using OK buttons because I wanted to use custom text labels, etc.  When I unbundle the cluster, I get the desired booleans.  However, when I created a property node, the Value was Variant - doesn't make sense to me.  What's more, if I wire the property node to a Variant conversion VI (with Boolean type), the output of the property node suddenly becomes Boolean and stays that way when I remove the conversion VI - makes even less sense. 

 

Why are OK Buttons somehow different from other Booleans when used in a cluster?

 

The fix I went with was to create a bunch of square LEDs with text, turned those into controls, and then put them in a cluster.

 

Michael Tracy

Synergy Microwave

 

0 Kudos
Message 1 of 3
(3,542 Views)
Solution
Accepted by topic author SynergyMike

The Property Node was a Variant because the "OK button" is set to a latching type. You shouldn't read/write to latching type buttons programmatically, because a race condition is bound to happen. Your issue didn't concern the cluster.

Richard






Message 2 of 3
(3,533 Views)

Thanks - I forgot about those pesky button "latch" actions.  I normally remember to get rid of them when using single buttons...

 

Michael

 

0 Kudos
Message 3 of 3
(3,492 Views)