与LPC214x处理器USB方式通信的编程技术
详细信息    查看全文 | 推荐本文 |
  • 英文篇名:Programming Techniques of Communicating with LPC214x Processor in USB Mode
  • 作者:张守伟 ; 臧德福 ; 张付明 ; 刘树勤
  • 英文作者:Zhang Shouwei;Zang Defu;Zhang Fuming;Liu Shuqin;Working Station for Postdoctoral Scientific Research in Shengli Oilfield;Logging Company of Shengli Petroleum Engineering Co.,Ltd.SINOPEC;
  • 关键词:测井 ; 地面面板 ; LPC214x ; USB通信 ; C#编程 ; C++编程
  • 英文关键词:logging;;ground panel;;LPC214x;;USB communication;;C# programming;;C++ programming
  • 中文刊名:JZCK
  • 英文刊名:Computer Measurement & Control
  • 机构:胜利油田博士后科研工作站;中石化胜利石油工程有限公司测井公司;
  • 出版日期:2014-12-25
  • 出版单位:计算机测量与控制
  • 年:2014
  • 期:v.22;No.195
  • 基金:中国博士后科学基金资助项目(2013M541956);; 中石化石油工程技术服务有限公司前瞻性科研项目(JP13013);; 中石化胜利石油工程有限公司科研项目(SKC1401)
  • 语种:中文;
  • 页:JZCK201412112
  • 页数:3
  • CN:12
  • ISSN:11-4762/TP
  • 分类号:369-371
摘要
USB通信具有更方便、灵活、高效等特点,逐渐代替传统的RS-232、RS-485等通信方式,可用来解决测井过程数据传输量大的难题;主控芯片为LPC214x处理器的地面面板系统可与电脑以USB通信方式通信,在上位机中用C#、C++等语言进行编程,分别调用动态库EasyUSB214x,实现了计算机与LPC214x处理器USB方式通信,并阐述了编程过程的实现方法及其关键技术;通过测试后发现,利用C++调用动态库进行USB通信的程序运行时较为稳定;测井软件主体功能程序利用C#开发,C++开发USB通信程序,C#与C++组合开发的编程方法解决了测井数据高速传输的需求。
        With more convenient,flexible and efficient features,USB communication is gradually replacing the traditional communications such as RS-232,RS-485 or other means.And it can be used to solve the problem of large data transmission in the logging process.The ground panel system,its master processor chip is LPC214 x,can be communicated with computer in USB mode.So USB communicating is realized between the computer and the processor of LPC214 xby the ways of C#,C++languages programming in which dynamic library EasyUSB214 xis used separately in the computer system.And the programming methods and its key technologies are described thoroughly.The test results show that USB communication program is more stable which is programmed by C++ using dynamic library at runtime.The main function of the logging software is programed by using of C#language,and USB communication program is developed by C++.The combined development of C# and C++software has been used to solve the communication needs of high-speed transmission of data in the logging.
引文
[1]魏勇.基于USB的测井地面采集系统的研制[J].石油仪器,2008,22(4):79-81.
    [2]卢俊强,鞠晓东.USB在阵列声波测井数据采集中的应用[J].计算机测量与控制,2008,16(11):1754-1756.
    [3]谢飞.测井电缆数据传输方式的分析说明[J].石油仪器,2011,25(5):94-96.
    [4]李亚炜.声幅测井高速AD采集与USS传输[D].西安:西安工业大学,2012.
    [5]李会银.基于USB接口的测井电缆数据传输系统研究[D].东营:中国石油大学(华东),2006.
    [6]韩海力,鞠晓东,李会银.基于USB的测井脉冲采集系统设计与实现[J].石油仪器,2005,19(3):4-7.

© 2004-2018 中国地质图书馆版权所有 京ICP备05064691号 京公网安备11010802017129号

地址:北京市海淀区学院路29号 邮编:100083

电话:办公室:(+86 10)66554848;文献借阅、咨询服务、科技查新:66554700