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

虚拟频谱分析仪中断程序的开发
引用本文:李义府,邹润民.虚拟频谱分析仪中断程序的开发[J].中南大学学报(自然科学版),2001,32(3):318-321.
作者姓名:李义府  邹润民
作者单位:中南大学信息科学与工程学院,
摘    要:虚拟仪器是1种以计算机为工具,以各种新型软件为平台的新型电子测试仪器.为了开发友好界面,系统操作平台普遍采用Windows9x系统.但该操作系统不能由用户直接控制硬件,需要开发专门的硬件设备驱动程序,即通过一系列的虚拟设备驱动程序来管理硬件,如进行中断响应、I/O端口读写或直接存储器存取(DMA).为此,研究了Windows9x平台的虚拟环境、虚拟设备驱动程序VxD的基本方法,比较了在Windos9x中实现硬件中断的2种方法,结合开发工具VtoolsD得出了用C++语言编写的硬件中断的具体编程实例.通过该仪器的开发,成功地解决了数据采集的实时性和安全性问题.

关 键 词:Windows9x  VtoolsD  虚拟设备  驱动程序  虚拟仪器
文章编号:1005-9792(2001)03-0318-04
修稿时间:2000年12月12

Interrupt program development for virtual frequent spectrum analyzer
LI Yi fu,ZHOU Run ming.Interrupt program development for virtual frequent spectrum analyzer[J].Journal of Central South University:Science and Technology,2001,32(3):318-321.
Authors:LI Yi fu  ZHOU Run ming
Abstract:Virtual instrument is a new type of electronic test instrument based on computer and various new software. It has widespread applications in all fields of society. The platform of operating system adopts windows 9x system. But the operating system does not recommend users to control the hardware directly, thus causing much trouble for the developing programmers. It needs specialized hardware device driver programming. In this paper, the virtual environment of windows 9x and the basic method of virtual device driver programming are introduced, two methods for realizing hardware interrupt are compared, and the program example for hardware interrupt is given using C language based on Vtools developing tools, VtoolsD. The results show that the real time and safety problem of data acquisition are solved through the development of virtual instrument.
Keywords:Windows 9x  VtoolsD  virtual device  drive program  virtual instrument
本文献已被 CNKI 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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