03-27-2024 06:23 PM
Hi,
I need help with reinitializing one of my enum control to default value based on a certain condition.
I am able to reset the VI but having a hard time resetting a specific control.
System mode is my enum control with 5 items. Idle is the default value for it. I want to make sure that if the below condition is satisfied, my system mode goes back to default value while the VI is running.
Can someone help me with this?
03-27-2024 07:43 PM
You are wiring a reference of the enum to the local variable and that makes absolutely no sense! Why not just wire a diagram constant instead? (In this case you can right-click the blue local and "create constant", then select the value you want.)
I recommend to do a few more basic tutorials. For example a "boolean equal TRUE?" just returns the boolean unchanged. Why do you have that green local? Where is the terminal of it?
We can typical offer more specific advice once you attach your code.