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

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

时间统计的问题

已解决!
转到解答
采集的信号大于某个数值时候,开始计时,计时达到指定时间,就停止采集,谢谢
0 项奖励
1 条消息(共 6 条)
5,834 次查看

Possible way... using 2 parallel loops.

 

Loop1: DAQ and check for if X > Y, set boolean i.e. T to trigger timer in Loop2

Loop2: If T is True, start timer. If timer time's up, stop DAQ (in Loop1)

Ian F
Since LabVIEW 5.1... 7.1.1... 2009, 2010, 2014
依恩与LabVIEW
LVVILIB.blogspot.com
2 条消息(共 6 条)
5,833 次查看
用哪个组件呢,我看Elapsed Time 上没有start之类的输入
0 项奖励
3 条消息(共 6 条)
5,829 次查看
解答
已被主题作者 redred 接受
You can play around with Reset (for Timer Start) and Time Has Elasped (for DAQ stop)
 PS: attached example code simulating Timer Start and Stop
Ian F
Since LabVIEW 5.1... 7.1.1... 2009, 2010, 2014
依恩与LabVIEW
LVVILIB.blogspot.com
4 条消息(共 6 条)
5,821 次查看
顺便问一下,你的控制按钮怎么弄的,而且控制框上的停止按钮怎么弄没的
0 项奖励
5 条消息(共 6 条)
5,807 次查看

你的控制按钮怎么弄的

Do you mean the STOP button? It is the Dialog Button from Dialog Controls with Key Navigation removed.

As for the small little image "embedded" onto the button, 到我的部落格吧! (not sure if can surf that blog from within China?!)

 

Basically it is the VI's Icon image copied to the front panel. The image must have a small (min. 1 pixel) opening with white color in order to appear with part "transparent"...

 

 

而且控制框上的停止按钮怎么弄没的

Do you mean the Run button (on the menu bar)? 

VI Properties > Window Appearance >  Customize > [Uncheck] Show Menu Bar

Ian F
Since LabVIEW 5.1... 7.1.1... 2009, 2010, 2014
依恩与LabVIEW
LVVILIB.blogspot.com
0 项奖励
6 条消息(共 6 条)
5,804 次查看