利用多线程实现串口数据的实时图形化显示  被引量:11

Utilizing Multithread to Realize Real-time Graphical Display of Data Transferred by Serial Port

在线阅读下载全文

作  者:赵素林[1] 

机构地区:[1]西安电子科技大学计算机学院,陕西西安710071

出  处:《计算机技术与发展》2006年第6期124-126,共3页Computer Technology and Development

摘  要:文中主要讨论了在基于socket通信的C/S模式下,客户端从设备服务端采集提取数据并将测量结果以图形方式实时显示给用户。客户端通过串口利用socket通信向服务端发送操作命令,远程控制服务端设备,服务端按照操作命令进行响应并进行相关功能测量,最后将测量结果数据传给客户端,客户端收到数据经过处理后以图形方式实时显示在用户操作界面上。在通信数据量较大且需要实时反映当前状态的前提下,采用多线程技术实现数据接收与图形显示的并发同步进行。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.

关 键 词:多线程 套接字 同步 实时 

分 类 号:TP391.9[自动化与计算机技术—计算机应用技术]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

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