我们遇到了需要解决的新53220A计数器的开销问题。
看看附加的驱动程序项目,我附上了新旧驱动程序(LV2011)。
查看5322x驱动程序,您将在Open Counter.vi和Read Counter.vi中看到旧代码周围有禁用结构,我们试图用新计数器复制相同的读取。
使用新代码,我们看到了之前没有的延迟。
我们以前的方式,我们不断初始化并运行计数器,并使用Read Counter.vi读取固定的计数时间。
我试图用新驱动程序复制它。
有人可以看看这个,看看这是否是正确的方法来初始化计数器,以便在累加模式下连续读取(固定臂时间)?
我们可以做些什么来重新获得整体表现?
以上来自于谷歌翻译
以下为原文
We are having overhead issues with the new 53220A counter that need to be resolved. Looking at the attached driver project, I've attached the old and new driver (LV2011).
Looking at the 5322x driver, you will see in the Open Counter.vi and Read Counter.vi that there are disable structures around the old code where we have attempted to replicate the same reads with the new counter. With the new code as is, we are seeing a delay that was not there previously.
The way we were doing it before, we ini
tialized and ran the counter continuously, and read a fixed time of counts with the Read Counter.vi. I'm trying to replicate this with the new driver.
Can someone please look this over and see if this is the correct way to initialize the counter to read continuously in totalizing mode (with fixed
ARM time)? What may we do to regain our overall performance?
附件