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.
已解决! 转到解答。
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
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.
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.
@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.