LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

same code for every state in event

Hello.

 

In my front panel there are some buttons that will give the same result each time they are pressed.

Exactly like menu items.

 

In every state of my FSM there is an event structure. Is it efficient to add a case for every menu item and buttons for every state?

 

Is there a way to add this functionality in just one case structure and then make it global somehow?

 

Thanks.

0 Kudos
Message 1 of 3
(2,534 Views)

duplicate, continue here!

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 3
(2,531 Views)

Thank you very much for the quick reply!

0 Kudos
Message 3 of 3
(2,522 Views)