Design and implementation of serial port data acquisition system in VS2008

QU Wu-jiang · Journal of Shenyang Normal University · 2013

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.

Read the paper · More papers on PaperTik