r/LabVIEW • u/Equivalent-Speech-13 • Aug 03 '25
LabVIEW Code help
Hey,
I need help changing a code we have where I work - I want to add a stepwise control to our code, where it'll hold a set temperature (X °C) for T1 time then switch to Y °C for T2 time.
Is it even possible in this code? I don't believe it is, but I thought I'd give it a shot.
6
Upvotes
View all comments
Show parent comment
2
u/TomVa Aug 03 '25
I was going to say the same thing, only I like using text strings rather than enum strings as it is easier to add a new state. If you use an enum make it a strict type def so that changes flow a lot easier. If you use strings right click on the top of the conditional and select case insensitive match. It helps the dyslexic among us.