LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Latching a Button to a Case Structure

Solved!
Go to solution

Hi rvkamat,

 

BTW I found the solution.

That's not a solution, it's a quirky work-around…

 

Its apparently easier to automate scripts when you have an event structure.

From your description I guess it would be much easier to use a proper state machine. One state machine handling several "recipes". No event structures involved, atleast not for handling the recipe.

 

When this is your thesis you should also write a chapter on proper programming schemes…

 

Are you related to (or the same as) user rkamat?

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 11 of 14
(584 Views)

Haha, Yes GerdW, I have 2 User Profiles.

 

I know this isn't "proper programming" but I am still learning. I have just been working with Labview this past month and I am sure I'll figure out these things on my own. I am sure you've had a boss who told you how he liked things and you "gladly" obliged.

 

Thanks for your help again!Smiley Happy

0 Kudos
Message 12 of 14
(575 Views)

Hi GerdW,

 

Now that you mentioned it, I am using a State Machine. I have attached a pic, is this what you mean

0 Kudos
Message 13 of 14
(559 Views)

Hi rkamat,

 

yes, those are state machines. You should prefer the Enum solution using a type-defined enum!

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 14 of 14
(552 Views)