07-09-2018 05:38 AM
Hello!
In my main VI, The user will choose the configuration he wanted and then he pressed a boolean control "validate". I set the mechanical action of the button to " switched if pressed" I want to oblige the user to not turn back after pressing "validate", it means he can not modify the configuration that he does , unless he stops the VI and relaunch a new run, so i want that the boolean "validate" resumes its default value and be invariable
Please how can i do such a setting ?
thank you in advance.
Solved! Go to Solution.
07-09-2018 05:54 AM
07-09-2018 07:10 AM
Hello
Thank you for your reply.
That works well, i also initialized the boolean button to " enabled" to make it functional at each new run
07-09-2018 10:23 AM
No need to reinitialize the control for next run. Change the mechanical action to latch and it will change back automatically after the value is read from the control.
07-09-2018 10:43 AM
I believe Student_LV is referring to making sure the control is set back to "enabled" at the start of the VI, not the true/false state of the boolean or its mechanical action.
07-09-2018 10:57 AM
@RavensFan wrote:
I believe Student_LV is referring to making sure the control is set back to "enabled" at the start of the VI, not the true/false state of the boolean or its mechanical action.
Ahh...good point.