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

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

定时数据采集

各位高手:
        小弟现正在做一个课题,需要用到数据采集程序。程序需要能够实现连续采集和定时采集,具体为while循环,如果按下定时按钮,则在前面板中输入采集时间,时间到即停止。若没按下定时按钮,则为连续采集,直至按下停止按钮时停止采集。
       小弟是新手,编这样的程序有点困难,希望各位高手不吝赐教。小弟感激涕零!

帖子被风之缥缈在03-04-2006 10:38 PM时编辑过了

0 项奖励
1 条消息(共 2 条)
3,876 次查看
Dear Customer,
 
For continous data acquisitions, we can find lots of example in LabVIEW
i.e. Cont. Acq&Graph Voltage-Int Clk.vi from NI example finder 
 
For finite data acquisitions, it depends on how you design your program
i.e. Acquisitions will be take twice a second, you may ask user inputing how long should the acquisition running (60 seconds)
then you will get the # of samples, and you design a while loop which may loop twice a second, and stop after 120 iterations.
 
With Case structure of LabVIEW, you can swtich the 2 modes with a Boolean control on front panel.
 
-ChinaSupport
John L.
0 项奖励
2 条消息(共 2 条)
3,852 次查看