找回密码
 注册
Simdroid-非首页
查看: 70|回复: 1

[其他] 利用PCI-6036E卡输出连续脉冲,如何得知已经输出的脉冲数?

[复制链接]
发表于 2011-3-4 19:21:48 | 显示全部楼层 |阅读模式 来自 江苏南京
我用的是PCI-6036E,利用它输出脉冲信号,用来控制步进电机移动平台,利用daqmx编程,选择的是连续脉冲输出模式,但在求取平台的位移时需要用到脉冲数,这个应该怎么得到?请各位给点意见……
发表于 2011-3-8 08:11:09 | 显示全部楼层 来自 美国
Simdroid开发平台
I am using C++ so my solution is to use DAQmxRegisterEveryNSamplesEvent function with DAQmx_Val_Transferred_From_Buffer parameter. Check the help file to see details.

Basically you define a callback function which will be executed after every N samples data have been output to the device.
回复 不支持

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

Archiver|小黑屋|联系我们|仿真互动网 ( 京ICP备15048925号-7 )

GMT+8, 2024-4-26 23:42 , Processed in 0.025440 second(s), 11 queries , Gzip On, MemCache On.

Powered by Discuz! X3.5 Licensed

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表