是德科技
直播中

代攀

7年用户 223经验值
私信 关注
[问答]

怎么从53132A过渡到53220A

我们遇到了需要解决的新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 initialized 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?   
附件

回帖(7)

代攀

2019-1-4 15:48:38
这个论坛是发布这些查询的好地方吗?

以上来自于谷歌翻译


     以下为原文

  Is this forum a good place to post queries such as these?
举报

杨梅

2019-1-4 15:59:46
引用: bvtwerwer 发表于 2019-1-4 14:09
这个论坛是发布这些查询的好地方吗?

以上来自于谷歌翻译

是的,抱歉,您之前没有收到回复。
我的手表类别消失了,我只是注意周五,所以我没有意识到有新的帖子。
我会将此案件转发给我的同事进行审核。

以上来自于谷歌翻译


     以下为原文

  Yes, sorry you had not received a response previously.  My watch categories dissappeared, and I just notice friday, so I was unaware there were new posts.  I will forward this case to my colleague to review.
举报

代攀

2019-1-4 16:15:58
引用: 4864165sas 发表于 2019-1-4 14:20
是的,抱歉,您之前没有收到回复。
我的手表类别消失了,我只是注意周五,所以我没有意识到有新的帖子。
我会将此案件转发给我的同事进行审核。

谢谢,我很感激你的回应。
任何你可以发送我的方式将非常感激。

以上来自于谷歌翻译


     以下为原文

  Thank you, I appreciate the response. Anything that you may be able to send my way would be much appreciated.
举报

薄坤坤

2019-1-4 16:30:43
您是否尝试在53132A兼容模式下使用53220A以利用现有代码?
你能用旧的(531xA)驱动程序向我们发送一个完整的例子吗?
我不确定您遇到延迟的时间或地点。
附件是在标准模式下使用532xxA的连续累加示例(不是531xxA兼容模式)。
它使用计数器的连续累加功能而不是INITiate:CONTinous并定期查询连续计数。
该程序使用LabView提供的VISA - 无需额外的驱动程序。

以上来自于谷歌翻译


     以下为原文

  Are you trying to use the 53220A in 53132A compatibility mode in order to leverage existing code?  Can you send us a complete example using the old (531xA) driver? I am not sure what or where you are experiencing the delay.

Attached is a continuous totalizing example using the 532xxA in its standard mode (not 531xxA compatibilty mode). It uses the counter's continuous totalizing function rather than INITiate:CONTinous and periodically queries the continous count. The program uses VISA as provided by LabView - no additional driver is needed.

附件

举报

更多回帖

发帖
×
20
完善资料,
赚取积分