摘要
深入研究了构建半物理仿真系统中I/O设备S-函数驱动模块的开发方法,详细论述了采用C MEX S-函数开发I/O设备驱动模块过程中各函数例程的作用、调用形式和开发方法,以及RTW下模型代码的生成过程,并基于该方法下完成了PCI6208DA等设备驱动模块的开发,驱动模块的开发成功有助于提高半物理仿真的灵活性和可靠性,具有一定的实用性和推广价值。
This paper did an in--depth research on the development methods of S--function driving module in I/O equipment in the construction of semi--physical simulation system, gives a detailed' description of functions, invoking function and development method of each function evaluation routine during the development of the function driver module in I/O equipment with C MEX S--module. The formation process of model codes under Simulink/RTW is also described in detail. Based on the method introduced, the development of driving module for the equipment of PCI6208DA is conducted. The successful development of the driving module is attributed to the improvement of the flexibility and reliability of semi--physical simulation. This method is of practical use and of prodigious popularization value.
出处
《计算机测量与控制》
CSCD
北大核心
2009年第3期599-602,共4页
Computer Measurement &Control
基金
航空基金(20061353017)