PCI-6602计数器/定时器模块的响应时间
我正在使用 NI PCI-6602 计数器/定时器将 TTL 信号发送到我们实验室中的另一台设备。我必须每隔 3 - 5 ms 发送一次信号,但是这个时间不是固定的(这取决于我在 LabVIEW 程序中执行的一些其他过程),因此我无法使用连续波形。
因此,我编写了一个简短的测试程序来熟悉 PCI-6602 (参见 vi) 并了解如何生成单个脉冲。
如果我生成一个脉冲,似乎我只能在大约 14 毫秒内完成此操作(至少这是使用滴答计数计算的时间差,这不是很精确;但是用计数器对脉冲进行计数给出了几乎相同的时间) 。所以看来 PCI-6602 对于我的应用来说响应时间太长了!
有人能告诉我她/他是否也有同样的观察吗?或者我使用了错误的 vi/以错误的方式处理 PCI-6602?如果是,我需要做什么才能使我的小测试程序和最终我的主程序更快? 我将感谢每一个帮助和评论!
I am using a NI PCI-6602 Counter/Timer to send TTL signals to another device in our lab. I have to send the signal every ~ 3 - 5 ms, but this time is not fixed (it depends on some other processes I am doing in my LabVIEW program), so I cannot work with a continuous waveform.
Therefore, I have written a short test program to get familiar with the PCI-6602 (see vi) and to see how I can generate a single pulse.
If I generate a single pulse, it seems that I can do this only about all 14 ms (at least this is the time difference calculated with tick counts which is not very precise; but counting the pulses with a counter gives almost the same time). So it seems that the PCI-6602 has a too long response time for my application!
Can somebody tell me if she/he makes the same observation? Or am I using the wrong vi/treating the PCI-6602 in the wrong way? If yes, what do I have to do to make my little test program and finally my main program faster?
I would appreciate every help and comment!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
感谢 LabVIEW 论坛 Dan 的大力支持,我们可以使用一个很好的解决方法来解决这个问题。
这里是讨论的链接以及工作 VI,以防有人对细节感兴趣。
Thanks to the great support of Dan of the LabVIEW forum it was possible to solve this problem by using a nice workaround.
Here is the link to the discussion and the working VI in case somebody is interested in the details.