首页 | 本学科首页   官方微博 | 高级检索  
     

利用多线程实现串口数据的实时图形化显示
引用本文:赵素林.利用多线程实现串口数据的实时图形化显示[J].微机发展,2006,16(6):124-126.
作者姓名:赵素林
作者单位:西安电子科技大学计算机学院 陕西西安710071
摘    要:文中主要讨论了在基于socket通信的C/S模式下,客户端从设备服务端采集提取数据并将测量结果以图形方式实时显示给用户。客户端通过串口利用socket通信向服务端发送操作命令,远程控制服务端设备,服务端按照操作命令进行响应并进行相关功能测量,最后将测量结果数据传给客户端,客户端收到数据经过处理后以图形方式实时显示在用户操作界面上。在通信数据量较大且需要实时反映当前状态的前提下,采用多线程技术实现数据接收与图形显示的并发同步进行。

关 键 词:多线程  套接字  同步  实时
文章编号:1673-629X(2006)06-0124-03
修稿时间:2005年10月14

Utilizing Multithread to Realize Real-time Graphical Display of Data Transferred by Serial Port
ZHAO Su-lin.Utilizing Multithread to Realize Real-time Graphical Display of Data Transferred by Serial Port[J].Microcomputer Development,2006,16(6):124-126.
Authors:ZHAO Su-lin
Abstract:Mainly discussed that custom gets data from device server and displaies the result data to user in graph on the basis of socket communication of C/S mode.Custom controlled server in long distance and sent commands to it by serial port that responded according to the commands and transferred the result data to custom which received the data from server and showed them in graph after processing.It utilized multithread technology to realize the parallel and synchrony of data receiving and graphical display in the case of large amount of information and real-time display.
Keywords:multithread  socket  synchronous  real-time
本文献已被 CNKI 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号