×

利用共用体和位域实现数据交流与传递

消耗积分:5 | 格式:rar | 大小:144 | 2009-08-04

李伟

分享资料个

针对某大型光电测控设备的中央控制台所面对的数据处理任务,提出了如何利用共用
体和位域建立数据平台的程序设计方法。介绍了大型光电测控设备的结构,分析了中央控制台的数据处理任务和数据流,并详细介绍了具体的设计方法。实践证明,该设计占用内存最小、程序运行速度快、便于系统升级和维护,可以满足设计要求,具有解决同类问题的通用性。
关键词:数据平台;工程应用;C++
Abstract: Aiming at the data processing task in the central console of a certain large-scale equipment for photo-electronic measure, a programming method about how to establish data plat form using the Bit Field and Union was discussed. Configuration of the large-scale equipment for photo-electronic measure was introduced. The data processing and the data stream of the central console was analyzed . The programming method was detailed introduced. Practice shows that, this method has minimal memory required which makes the program run faster, and it was good at progressing and maintenance also. Therefore, the method can meets the design requirements and can solves the same problems.
Keywords: Data plat form; Engineering application; C++

声明:本文内容及配图由入驻作者撰写或者入驻合作网站授权转载。文章观点仅代表作者本人,不代表电子发烧友网立场。文章及其配图仅供工程师学习之用,如有内容侵权或者其他违规问题,请联系本站处理。 举报投诉

评论(0)
发评论

下载排行榜

全部0条评论

快来发表一下你的评论吧 !