Linux下PC机串口与智能仪器间的数据通信  被引量:6

Data Communications Between PC Based on Serial Port and Intelligent Instrument Under Linux

在线阅读下载全文

作  者:吴俊安[1] 江泽涛[1] 涂斌 

机构地区:[1]南昌航空工业学院计算机系,江西南昌330034 [2]南昌供水有限责任公司计算中心,江西南昌330001

出  处:《计算机与现代化》2005年第7期39-42,共4页Computer and Modernization

基  金:江西省教委科技资助项目(DB200206062);江西省测控中心资助项目(KG200204011)

摘  要:由于串行接口具有连接简单、使用方便、数据传递可靠等优点,在工业实时控制系统中得到了广泛应用。本文探讨了Linux环境下PC机与智能仪器的串行通信,讨论了多线程实现问题,基于本文的通信程序能够实时接收和发送数据。文中给出了相应的程序代码,为日益流行的Linux软件开发提供一个有价值的参考。<Abstrcat> Serial interface possesses the good qualities of connecting simply ,using conveniently and data transferring credibly ,so it gains abroad appliance in real-time control system .In this paper ,the programming method of serial communication with Kylix in the Linux platform is discussed . Then it discusses the question of thread synchronization .Multi-thread based on serial communication program can receive and send data at the same time .The corresponding programming codes are given .It can be a valuable reference for the increasingly popular Linux software development.

关 键 词:智能仪器 串行通信 临界区 LINUX KYLIX 

分 类 号:TP332.3[自动化与计算机技术—计算机系统结构]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

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