检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
机构地区:[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[自动化与计算机技术—计算机系统结构]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:216.73.216.50