LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to reset a button in cluster in cluster in array area?

Hello,

I use a cluster inside an array which contains several controls for an individual configuration. By pressing the button "Signalkurve wählen" a dialog opens. After closing the dialog the pressed button does not really switch back into the false state. I tried all possible configurations for the button, none helped.

Does anyone know how to get this button back into the false state? It would be no problem if all of these buttons "Signalkurve wählen" inside the array would be set to false.

Thank you for your help.

Best regards,
Michael


Attached you will find a simple example. Maybe some has an idea to make it work. It should be possible to press both buttons "Signalkurve wählen" and get a dialog with the text "KS" or "GS". At the moment it only works the first time. Thanks a lot!
0 Kudos
Message 1 of 3
(2,761 Views)
Your problem is with the array. All boolean controls put into an array are automatically changed to a 'switch' operation. You can manually reset the boolean and replace the array element with the one that has the F value.

___________________
Try to take over the world!
0 Kudos
Message 2 of 3
(2,753 Views)
Hi Michael

You can reset the buttons by using the CtlRef inside the Event Case to pass the OldVal to a Value Property Node.

See updated code.

Good luck

Neil
Message 3 of 3
(2,752 Views)