取消
顯示結果 
搜尋替代 
您的意思是: 

Flexlogger Plugin - "Configure Session.vi" played twice?

已解決!
前往解決方案

Hello,

I'm currently developing a plugin for FlexLogger. The plugin VI "Configure Session.vi" seems to be played twice in a row and this is causing me problems since I'm opening a connection to a device.

 

I've looked into the NI example and I can see the same behavior (mouse example).

 

Is this the desired behavior? Is there a way to avoid that?

 

The Plugin Development Kit Manual doesn't say anything about this.

 

Thanks in advance!

1 條訊息(共 4 條)
2,526 檢視
解決方案
由主題作者所接受 vgravel

Thanks for the feedback. I believe older versions of the PDK/FlexLogger had this issue. I was just testing with the latest released version (PDK 1.3 and FlexLogger 2020 R4), and didn't have this problem with the Mouse plugin, so I would recommend upgrading to the latest version if possible. Did you verify that "Cleanup Session" was called for every "Configure Session"? If this is not the case, I would consider this a problem. If this is the case, I would hope your driver calls to the device can correctly cleanup so calling configure again would still work (you may need to add delays if the device can't configure/unconfigure too quickly). Hopefully upgrading to the latest version will work for you so you don't need to worry about extra configures being called too quickly.

 

Hope this helps,

Brad

2 條訊息(共 4 條)
2,486 檢視

Thanks Brad for your reply.
After updating to R4, the VIs are now running as expected.

 

Thanks again!

0 積分
3 條訊息(共 4 條)
2,458 檢視

Glad it's working as you expect now. Thanks for checking on this issue and let us know if you have other questions or issues.

Brad

0 積分
4 條訊息(共 4 條)
2,448 檢視