利用计算机串行接口实现数据的自动采集  

Computerized Data Collecting System Through RS232 Seriel Port

在线阅读下载全文

作  者:章建高[1] 

机构地区:[1]华南师范大学物理与电信工程学院材料物理教研室,广州510006

出  处:《现代科学仪器》2009年第4期53-54,共2页Modern Scientific Instruments

摘  要:本文介绍了一种非常实用的利用计算机RS232串行通讯口实现数据传输的方法.利用该方法可以用计算机将具有RS232接口的测试设备联接起来,实现数据的自动采集和存储。采用Visual Basic编程,利用其内置的MSComm控件进行数据接收的控制,可以用一台电脑同时收集多达十六台设备的数据。文中还介绍了MSComm控件的相关重要属性及编程方法。利用Visual Basic编程环境实现了图形化的实时实验监测,设计了人性化的图形界面.可以清晰明了地观察整个实验过程数据的变化情况。A method is introduced to collect data by computer through RS232 serial port. Equipments having RS232 serial port could be connected with computer to realize data-collecting and data storage automatically. Visual Basic 6.0 was selected as programming language, and a plug-in controller of VB6.0, MSComm, was used to control data-collecting progress. It is possible to collect data simultaneously from 16 equipments by MSComm. Several important properties of MSComm controller and programming method were introduced. A real-time experimental monitor system was realized graphically by using VB6.0 programming environment, and a friendly user interface was designed. It's easy to watch changes of data in whole experimental progress clearly by this method.

关 键 词:MSCOMM控件 数据传输 串行接口 

分 类 号:TP274.2[自动化与计算机技术—检测技术与自动化装置]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象