journal6 ›› 2007, Vol. 28 ›› Issue (4): 50-54.

• Physics and electronics • Previous Articles     Next Articles

The Software Development of the Serial Monitoring System Based on VC++ and Database

  

  1. (School of Instrument Science and Opto-Electronics Engineering,Beijing University of Aeronautics and Astronautics,Beijing 100083,China)
  • Online:2007-07-25 Published:2012-06-15

Abstract: Three basic methods of serial communication in windows environment are discussed.The software of serial communication and database are developed using windows API functions,MSComm control seperately with VC++.They succeed in data collecting and storing.Access2000 database of relation model is used by the system as tools for storing data which has strong capacity of dynamic data exchanging,good object interlinking properties,good internet sharing and ODBC properties.It can deal with data of the system efficiently.The standard SQL structured inquire language and ODBC database access technology are adopted by the database modules of the system that has very high memory speed and occupies very little memory space.

Key words: serial communication, API, MSComm control, CSerialPort class, database, ODBC

WeChat e-book chaoxing Mobile QQ