检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
作 者:屈武江[1]
机构地区:[1]大连海洋大学职业技术学院,辽宁大连116300
出 处:《沈阳师范大学学报(自然科学版)》2013年第3期409-412,共4页Journal of Shenyang Normal University:Natural Science Edition
基 金:辽宁省教育科学"十二五"规划立项课题(JG11EB013)
摘 要:在自动化控制领域和实时数据采集系统中,经常使用串口控制外部设备或者从外部设备中读取数据,开发高效而快速的串口通信程序是必不可少的。在分析VS2008开发环境下几种常用串口通信实现方法的基础上,以农业生产中蔬菜大棚杀虫灯自动数据采集分析系统为实例,通过调用动态链接库中API库函数实现一种基于串口通信的数据采集分析系统。详细论述了串口数据采集分析系统的基本设计思路、程序控制流程和软件系统功能的实现。实践表明,在VS2008中调用API库函数可以快速建立串口通信,实现数据采集和控制外部设备,这种方式适用于距离较远、数据量大和通信质量要求较高的数据通信环境。数据采集分析系统设计合理,运行可靠,具有较强的实用性。In the automatic control field and real-time data acquisition system, often use the serial port to control external devices or read data from external devices, so to develop a highly efficient and rapid serial communication program is necessary. On the basis of analysis of some serial communication implementation methods in VS2008, this paper implements a data acquisition and analysis system based on the serial communication by calling the API library function of dynamic link library, taking the vegetable greenhouses insecticidal lamp automatic data acquisition and analysis system in agricultural production as an example. It describes in details main design ideas, the program control flow and the realization of software system function of serial port data acquisition analysis system. It is proved that calling API library function in VS2008 can quickly build the serial port communication, realize data acquisition and control external devices,, which applies to the data communication environment of long distance, large data amount and high quality data communication requirements. The data acquisition analysis system is designed reasonably, and it is reliably running, and having strong practicability.
关 键 词:数据采集 串口通信 VS2008 API库函数 图表
分 类 号:TP311.1[自动化与计算机技术—计算机软件与理论]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:216.73.216.117