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

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

清空读串口数据框数据 设计中的一个bug,请帮忙!

清空读串口数据框数据 设计中的一个bug,如图所示.我目的是想点一下按钮就清空一下读串口数据框中的数据,但是现在设计中用的布尔型按钮,按了一下之后,数据框中的数据是清除掉了,但后边的数据也收不到了,只能再点一下清空按钮,把它变成假,这样就可以接收了.虽然只是多点一次鼠标,但是还是感觉不好.请问lv中有没有那种普通的按钮,按一下触发一下清空,这样就好实现了.谢谢您的答复!
0 项奖励
1 条消息(共 3 条)
4,071 次查看
You are using LED as control! (although it is still doing the job)
 
Right-click the control and choose "Latch when Released" for its Mechanical Action.
 
 
By the way, consider to have small loop delay 😉

帖子被ian fung在05-30-2007 01:06 PM时编辑过了

Ian F
Since LabVIEW 5.1... 7.1.1... 2009, 2010, 2014
依恩与LabVIEW
LVVILIB.blogspot.com
2 条消息(共 3 条)
4,068 次查看
thank you very much!I have solved the problem!
0 项奖励
3 条消息(共 3 条)
4,053 次查看