摘要
针对现行比较热门的无线数据采集系统上位机开发复杂、周期长的问题,采用LABVIEW设计无线数据采集系统的上位机。该上位机采用一种基于LABVIEW的上位机高效开发方案,使得无线数据采集系统的开发系统化、快速化;采用经典的"生产者-消费者"循环作为主要框架,并添加用户事件用以改善经典"生产者-消费者"循环退出不稳定的缺点;采用一种用于和下位机通讯的命令格式,使得上位机和下位机能够独立开发,且使得调试简单化。通过与下位机的实验调试结果表明,该上位机能够和下位机实现稳定通讯,且上位机能够稳定工作。
On the comparatively hot problem of the complicated and long-term development on upper computer of wireless data collection system at present, it adopts the upper computer with LABVIEW designed upper computer of wireless data collection system. This kind of upper computer adopts an efficient developing program based on LABVIEW, which makes the development of wireless data collection system more systematic and faster; it adopts a classical circulation mode of producer-and- consumer as the main framework, and adds the user event to improve the weakness of instability on exit of above mode; it adopts a kind of command format for the communication with upper computer, which enables the independent development of lower computer and upper computer and makes the debugging simpler. The result of experimental debugging with lower computer shows that the upper computer and lower computer can communicate stably and the upper computer is capable of stable work.
作者
林奕林
蔡文祥
LIN Yi-lin;CAI Wen-xiang(Mechanical Engineering School,Nanjing University of Science and Technology,Nanjing 210094,)
出处
《电子设计工程》
2018年第15期178-182,共5页
Electronic Design Engineering