取消
显示结果 
搜索替代 
您的意思是: 

Setting of Boolean control

已解决!
转到解答

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.

0 项奖励
1 条消息(共 6 条)
4,013 次查看
解答
已被主题作者 Student_LV 接受

 

disable.png

 

0 项奖励
2 条消息(共 6 条)
4,010 次查看

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 

0 项奖励
3 条消息(共 6 条)
3,990 次查看

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. 

aputman
4 条消息(共 6 条)
3,973 次查看

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.

5 条消息(共 6 条)
3,970 次查看

@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.  

aputman
0 项奖励
6 条消息(共 6 条)
3,965 次查看