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

利用VB6.0实现双字节传输在电控柴油机中的应用
引用本文:高军,杜慧勇,刘建新,王站成.利用VB6.0实现双字节传输在电控柴油机中的应用[J].河南科技大学学报(自然科学版),2008,29(6).
作者姓名:高军  杜慧勇  刘建新  王站成
作者单位:河南科技大学,车辆与动力工程学院,河南,洛阳,471003;河南科技大学,车辆与动力工程学院,河南,洛阳,471003;河南科技大学,车辆与动力工程学院,河南,洛阳,471003;河南科技大学,车辆与动力工程学院,河南,洛阳,471003
基金项目:河南省教育厅自然科学基金,河南省教育厅自然科学基金
摘    要:VB有两种方式可以实现串行通讯,一种是数据按照字符的格式传输,一种是按照字节的格式传输,两种方式都不能实现大于255的数据的直接传输.本文利用VB6.0对传输的数据串进行了有效拆分、组合处理,并以在电控柴油机中的应用为例了讲述两个以上字节(大于255)数据的直接传输,结果表明实现数据的传输准确、可靠.

关 键 词:柴油机  计算机控制  数据传输  串行通讯

Application of VB6.0 Serial Communication to Electronic Control Diesel Engine
GAO Jun,DU Hui-Yong,LIU Jian-Xin,WANG Zhan-Chen.Application of VB6.0 Serial Communication to Electronic Control Diesel Engine[J].Journal of Henan University of Science & Technology:Natural Science,2008,29(6).
Authors:GAO Jun  DU Hui-Yong  LIU Jian-Xin  WANG Zhan-Chen
Institution:GAO-Jun,DU Hui-Yong,LIU Jian-Xin,WANG Zhan-Chen (Vehicle & Motive Engineering College,Henan University of Science & Technology,Luoyang 471003,China)
Abstract:Two modes in VB6.0 are used to realize serial communication.One is data transmission as character,the other is data transmission as byte.These two modes cannot transmit data which is larger than 255 directly.An effective split and combination of data by VB6.0 are realized.The direct transmission of data which is longer than two bytes through its application to an electronic control diesel engine is explained.The result shows that the data transmission is accurate and reliable.
Keywords:Diesel engine  Computer control  Data tromsimission  Serial communication  
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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