hydrolic
驱动牛犊
驱动牛犊
  • 注册日期2002-11-12
  • 最后登录2005-01-29
  • 粉丝0
  • 关注0
  • 积分0分
  • 威望0点
  • 贡献值0点
  • 好评度0点
  • 原创分0分
  • 专家分0分
阅读:986回复:2

咨询windows下编写中断程序?

楼主#
更多 发布于:2002-11-12 22:05
我利用cvi做课题,需要用外部时钟中断,来发送控制信号
可cvi不支持dos中断方式,不知那位高手指点如何在windows下
编写中断程序,谢谢  !
taosa
驱动牛犊
驱动牛犊
  • 注册日期2002-07-29
  • 最后登录2005-01-06
  • 粉丝0
  • 关注0
  • 积分0分
  • 威望0点
  • 贡献值0点
  • 好评度0点
  • 原创分0分
  • 专家分0分
沙发#
发布于:2002-11-13 13:28
许多控制器用到这个功能,可查一查
我想一般用驱动来实现
goodbill
驱动牛犊
驱动牛犊
  • 注册日期2002-11-13
  • 最后登录2017-07-02
  • 粉丝0
  • 关注0
  • 积分0分
  • 威望0点
  • 贡献值0点
  • 好评度0点
  • 原创分0分
  • 专家分0分
板凳#
发布于:2002-11-13 09:13
1. to speed up your project. I recommend use DriverStudio.
    refer to http://www.compuware.com/products/driverstudio/previews/ for
more information.

2. WINDOWS is not the real time system. The response time is low(that is long lantency to evoke your ISR).  According to my experience, if you just read the I/O port to get the data when interrupt coming. (Please correct me for following)It is 13K under Win98, 40K under NT4.0 and 20K under 2K that not lost interrupt signal(in other word, no data lost).

3. If you want to pass event from kernel mode to user mode. The performance down to 2K.

4. If you are designing PCI device. Don\'t forget the statut register to identify the interrupt source when sharing the interrupt.

游客

返回顶部