检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
出 处:《国外电子测量技术》2007年第9期12-15,24,共5页Foreign Electronic Measurement Technology
基 金:陕西省教育厅重点科研计划项目(00JK176)
摘 要:本文讨论了在Windows环境及VC++6.0平台下,通过编程控制IK121计数卡实现对外部数据的采集。分析和比较了Windows下的并行I/O端口通讯方式和7种定时方式的应用,着重介绍了利用标准通信函数和自定义的通信类以及多媒体定时器来实现实时数据的采集,并给出了部分代码。实验证明,此方案是可行的,采用软件方式实现了数据采集,并保证了数据的正确性和完整性,定时分辨率由系统定时器的55ms提高到1ms。本文在用VC++6.0编程实现对外部的数据采集的实践上有创新,对于从事实时控制及Windows环境下编程的人员有很好的参考价值。An external data collection solution through IK 121 PC Counter card programming in windows and VC+ + 6. 0 platform is presented. Discusses how to use VC6. 0 + + to develop data collection on IK 121 PC Counter card in the Windows. Analysis and comparison of the parallel I/O port communication mode as well as seven kinds of timing methods are given. The real time data collection implemented by standard communication function and user defined communication class and multimedia timer is highlighted in this paper. Details of the program and part of the codes are also given. Experiment results show the feasibility of this solution and the guarantee of data correctness and integrity, and the timing resolution increase to 1 ms in comparison with 55 ms of system timer. We made some innovation on external data collec- tion by programming with VC+ + 6.0, and will bring some inspiration to researchers on real time controlling fields and it is also suitable for programming staff in windows environment.
分 类 号:TP312[自动化与计算机技术—计算机软件与理论]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:216.73.216.222