LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Creating a GUI for a State Machine

Hello Udka,

I know it would work that way, but the enum itself is changed often while I'm in the programming process. Plus others probably want to alter the state machine later, so changing the values of the tab control everytime the states change (so the eum, too) would probably cause a lot of worries. I thought it would be nice to somehow manipulate the tab control, that it always has the same values and names in the tabs like the enum since they are of the same type. I just thought there was an easy solution to it since I'm quite new to Labview.

 

Regards

Simon

0 Kudos
Message 11 of 12
(363 Views)

Rather than using a tab control I would suggest using subpanels. It is much easier to add new cases since you are dynamically loading the subpanels.



Mark Yedinak
Certified LabVIEW Architect
LabVIEW Champion

"Does anyone know where the love of God goes when the waves turn the minutes to hours?"
Wreck of the Edmund Fitzgerald - Gordon Lightfoot
0 Kudos
Message 12 of 12
(339 Views)