作者投稿和查稿 主编审稿 专家审稿 编委审稿 远程编辑

计算机工程 ›› 2009, Vol. 35 ›› Issue (19): 239-241. doi: 10.3969/j.issn.1000-3428.2009.19.080

• 工程应用技术与实现 • 上一篇    下一篇

xPC目标驱动程序开发中的关键问题研究

苗立东   

  1. (山东理工大学交通与车辆工程学院,淄博 255091)
  • 收稿日期:1900-01-01 修回日期:1900-01-01 出版日期:2009-10-05 发布日期:2009-10-05

Key Issues Research in Development of xPC Target Drivers

MIAO Li-dong   

  1. (School of Traffic & Vehicle Engineering, Shandong University of Technology, Zibo 255091)
  • Received:1900-01-01 Revised:1900-01-01 Online:2009-10-05 Published:2009-10-05

摘要: 根据xPC目标驱动程序的基本原理,针对采用C语言开发xPC实时系统硬件驱动程序过程中参数传递和查找基址的关键问题提出解决方案,其中包括模块封装和有效基址的确定方法。分别在1台工控机和1台组装PC机上对开发的PCI-8360A驱动程序进行了试验,7路A/D采样频率可以达到10 kHz,信号能够实时显示。实验证明该方法的有效性和可移植性有助于xPC驱动程序的开发过程。

关键词: xPC目标, 驱动程序, 系统函数, 参数传递, 基址

Abstract: According to the principle of xPC target driver, solutions are put forward targeting the key issues of parameters transmission and base address lookup in development of xPC target drivers. The solutions involve block mask and selection of valid base address. Tests are conducted with an industry computer and a DIY PC respectively, and result shows that the drives with seven-channel A/D conversion can achieve 10 kHz while the signals can be visualized in real time. Tests prove that the proposed solutions are effective and the developed drivers are portable, which can help the development of xPC target drivers

Key words: xPC target, drivers, S-functions, parameters transmission, base address

中图分类号: