一种多功能信号卡的驱动函数库设计  被引量:1

Design of Driver Function Library for Arbitrary Waveform Generator

在线阅读下载全文

作  者:朱震[1] 

机构地区:[1]天地科技股份有限公司高新事业部,北京100013

出  处:《工业控制计算机》2010年第5期31-32,34,共3页Industrial Control Computer

摘  要:在数字化的工业控制系统中,信号源的设计对整个系统的控制精度及稳定性起着重要作用。介绍了一种自主研发基于存储扫描方式的多功能信号卡的原理及应用。由于编程使用该板卡需要对板卡的硬件原理非常熟悉,且编程过程中需要频繁对板卡物理地址进行读写操作,因此迫切需要将板卡的各部分功能模块化,封装成驱动函数库以满足各种编程需要。提出了一种分层驱动封装模式,提高了代码的复用率,简化了操作过程,提高了应用程序的可靠性。采用动态链接库(DLL)的方式完成了驱动函数库的封装,实现了在各种操作系统及各种编程环境下的调用。该封装方法已应用于各类独立研发的板卡驱动函数库的设计中。In digitized modern industry system,the performance of signal generator play an import and role to the controlling precision and stability of the total system.An arbitrary waveform signal generator board designed independently is introduced in this paper.When programming for this card,the user should be family to the hardware structure and working principle.While the card is working,the I /O ports are operated frequently.How to package every function model into a total library is important.A layered package modal is proposed in this paper.With this method,every function model are distributed into different layer,and packaged into a dynamic link library(DLL).The experimental results show that this package modal could increase the code efficiency,enhance the stability,and predigest the operation process.The layered package modal has been used for several control board designed independently.

关 键 词:多功能信号卡 驱动函数库 分层封装 动态链接库 

分 类 号:TP273[自动化与计算机技术—检测技术与自动化装置]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象