摘要
讨论了一种基于数据库的VXI总线测试软件设计方法。测试软件由通用程序和数据库文件构成。通用程序由主调度程序和其他子程序组成 ,数据库文件提供仪器配置、测试需求、测试通道、测试流程等数据 ,而主调度程序则根据需要读取数据库中的数据并完成调用子程序等相应操作。这种灵活的结构消除了在程序中直接嵌入复杂逻辑代码的要求 ,大大简化了应用源代码 ,缩短软件的开发时间 ,并具有良好的通用性、可维护性和可扩充性。
The design method of test software based on database to VXI bus system is discussed.The test software is made up of a universal program and databases,while the universal program includes main program and some subprograms.Databases provide instrument configuration,test requirement,test path,test flow,ect.The main program reads data from databases and executes corresponding operation according to these data.The flexible structure eliminates the need for embedding complex logic code within the test software,which simplified application source code,can improves developing time greatly,and test software has better universality,maintainability,expandability.
出处
《测控技术》
CSCD
2000年第5期51-53,共3页
Measurement & Control Technology