微型机与应用
微型機與應用
미형궤여응용
MICROCOMPUTER & ITS APPLICATIONS
2011年
14期
13-15
,共3页
C++Builder%实时曲线%MSComm控件%串行通信
C++Builder%實時麯線%MSComm控件%串行通信
C++Builder%실시곡선%MSComm공건%천행통신
C++ Builder%real-time curve%MSComm%serial communication
介绍了在C++Builder 6.0软件开发环境下设计温盐深实时数据采集与处理系统的方法,其中PC机与数据接收装置之间的串行通信采用MSComm串行通信控件来实现,并给出了相应的程序代码,利用模拟数据源模拟现场采集数据,将实地测量得到的温度和电导率值依次通过串口传输到本软件中,结果证实系统运行稳定,该后台软件以实时曲线绘制的方式形象、直观地显示了采集的温盐深数据,并能把盐度、密度、声速的曲线绘制出来,运行良好。
介紹瞭在C++Builder 6.0軟件開髮環境下設計溫鹽深實時數據採集與處理繫統的方法,其中PC機與數據接收裝置之間的串行通信採用MSComm串行通信控件來實現,併給齣瞭相應的程序代碼,利用模擬數據源模擬現場採集數據,將實地測量得到的溫度和電導率值依次通過串口傳輸到本軟件中,結果證實繫統運行穩定,該後檯軟件以實時麯線繪製的方式形象、直觀地顯示瞭採集的溫鹽深數據,併能把鹽度、密度、聲速的麯線繪製齣來,運行良好。
개소료재C++Builder 6.0연건개발배경하설계온염심실시수거채집여처리계통적방법,기중PC궤여수거접수장치지간적천행통신채용MSComm천행통신공건래실현,병급출료상응적정서대마,이용모의수거원모의현장채집수거,장실지측량득도적온도화전도솔치의차통과천구전수도본연건중,결과증실계통운행은정,해후태연건이실시곡선회제적방식형상、직관지현시료채집적온염심수거,병능파염도、밀도、성속적곡선회제출래,운행량호。
Introduced in C++ Builder 6.0 software development environment design temperature salt deep real-time data acquisition and processing system,including PCs and data receiving device of serial communication between using MSComm serial communication controls to implement,and the corresponding program code,using the real field data collection,probe simulation will be measured temperature field and electrical conductivity value in turn through serial transmission to the software,the results confirm the system runs stably,this backend software to real-time curve drawing way image,intuitive shows the acquisition of the temperature deep data,and salt can salinity,density,velocity of curve mapped out,work well.