From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

NI LabVIEW,CVI,数据采集等产品讨论区

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

求助:如何屏蔽或清除事件?

我在case结构中用了事件结构,当为真时执行事件结构,为假时不执行.可是条件再次为真时,在条件为假时在前面板上的所有操作(value  change)事件还是一个个又执行了,哪位有更好的屏蔽或清除事件的方法?
0 项奖励
1 条消息(共 3 条)
4,277 次查看
一种方法就是把屏蔽坐在event structure里面,发生了事件去判断条件
要么你想办法在条件为假的时候就不经过event structure 这也可行
0 项奖励
2 条消息(共 3 条)
4,269 次查看

Yes. you can use a case structure to include your target in the event case .  the action will be executed as press the button value to "ture" only.

if you don't know also. I will encolse the simple sample to you.

________________________________________________________


Try to make everything Automatic
0 项奖励
3 条消息(共 3 条)
4,264 次查看