摘要
利用LabVIEW研究并设计一套数据采集系统,NI采集卡采用一种速率采集时,FIFO函数传递数据,对其进行操作如存储、显示时,不会出现故障。随着要求越来越高,变速采集是当下的流行方式,在正常情况下,低速便可以满足采集要求,但在出现故障或者突发情况下,需要对该状态有所记录,因此需要高速采集。然而NI采集卡在采集的同时不可以变速率,否则程序出现故障甚至数据丢失严重,为解决此问题,采用顺序结构设置变速率。当需要变速时,得到速率变换信号,首先停止采集,变速后再启动采集,并采用局部变量实现了不同速率的传递。实际运行表明,该系统逻辑更严谨,采集过程稳定,防止同时采集同时变速所带来的问题,达到了设计要求。
Using LabVIEW to study and design one rate when collecting, FIFO function to transfer failure. With the increasingly high demand, shifting a data acquisition system, NI acquisition card uses data, manipulate it, such as storage, display, not the current collection is a popular way, under nor- real circumstances, low acquisition will meet the requirements, but in the case of failure or sudden need to have records of the state, requiring high - speed acquisition. However, NI acquisition card can not be collected at the same time, variable rate, otherwise the program fails even serious data loss, to solve this problem, set the variable first stop the acquisition, speed sequential structure. transmission and then start When you need speed, the collection and use passing different rates. The actual running surface, the logic process stability and to prevent simultaneous acquisition while sign requirements. get rate conversion signal, local variables to achieve a of the system is more rigorous acquisition shifting the problems arising, meet the de-
出处
《工业仪表与自动化装置》
2015年第2期33-35,共3页
Industrial Instrumentation & Automation
关键词
速率
故障
顺序结构
局部变量
采集
rate
fault
sequential structure
local variables
acquisition