检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
作 者:林焯华[1] 蒋梁中[1] 姚锡凡[1] 王春宝[1]
机构地区:[1]广州华南理工大学机械工程学院
出 处:《微计算机信息》2006年第11Z期253-255,239,共4页Control & Automation
基 金:广东省科技计划项目资助项目(2004A10403006);2005年华南理工大学百步梯攀登计划研究项目
摘 要:计算机上的RS-232串行通信标准接口可以方便地与外设进行通信以及对外设的监测数据进行实时的采集。用C语言编写上、下位机的串行通信程序时,主要有查询方式和中断方式两种不同的方法。其中中断方式避免长时间访问串行口的问题,数据交换可在上位机后台进行,在设计前台事务处理程序时就可以不考虑数据交换问题,提高了CPU的工作效率。因此,本文着重介绍中断方式下的通讯编程,并使用数传电台实现排爆机器人上、下位机的无线通信。The RS-232 serial standard interface of communication on the computer can carry on communication with the peripheral hardware conveniently ,and sample data in real-time. There are mainly two kinds of different methods, i.e. inquiring way and interrupt way, to program for serial communication between the upper computer and the lower computer in C language. Interrupt way prevents from waiting for the serial interface in a long time. Data interchange can be completed in the backstage of the upper computer, which needn ' t consider the data interchange problem while designing the transaction processing procedure in the front desk and have improved the working efficiency of CPU. So, the interrupt way is mainly introduced here. Data transmission radio can be used for realizing the wireless communication between the upper computer and the lower computer of the bomb-exclusive robot..
分 类 号:TP31[自动化与计算机技术—计算机软件与理论]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:3.16.157.168