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

用C语言开发测控软件的方法与实践
引用本文:周建辉,张玉仲.用C语言开发测控软件的方法与实践[J].西安石油大学学报(自然科学版),1993(1).
作者姓名:周建辉  张玉仲
作者单位:西安石油学院石油仪器及自动化系,西安石油学院石油仪器及自动化系
摘    要:讨论了C语言在测控系统软件开发中应用的方法及其相应技术。提出了一种利用STD总线工业控制机自身的定时器/计数器产生定时中断来控制数据采集的方法,给出了应用时的编程技术和具体的C语言源程序。本文所讨论的时间中断技术、TSR技术、嵌入汇编技术和多任务技术具有一定通用性,其程序有很好的移植性。

关 键 词:C语言  定时中断  TSR技术  嵌入汇编

The Method and Application of C Language in the Development of Measurement and Control Software
Zhou Jianhui Zhang Yuzhong.The Method and Application of C Language in the Development of Measurement and Control Software[J].Journal of Xian Shiyou University,1993(1).
Authors:Zhou Jianhui Zhang Yuzhong
Institution:Dept. of Petroleum Exploration Instruments and Automation
Abstract:The present papes discusses the method and technique of C Language applied in the development of measurement and control software. It is proposed that data acquisition is controlled by the timing interrupt which is generated by the timer or counter of industrial control computer with STD bus. The programing technique and detailed C Language source code program are given out. The techniques, such as time interrupt, TSR, inlaying assembly and multi—task discussed in this paper are of common use, and the corresponding program is very easy to transplant.
Keywords:C Language  timing interrupt  TSR technique  inlaying assembly
本文献已被 CNKI 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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