Nesara
-
Posts
2 -
Joined
-
Last visited
Content Type
Profiles
Forums
Downloads
Gallery
Posts posted by Nesara
-
-
Hi
I am facing a problem while running a sub VI.
I have developed a VI where I am calling windows system functions using ActiveX.
This vi will generate an event (in this sub VI it will come out from "wait for next event" with out error) whenever Ethernet cable is plugged or unplugged.
Once I run this vi it will wait at invoke node - "wait for next event". At this point I can't stop this sub VI even with abort button.
It's creating the problem in my application (application hangs).
Attached my VI. Please let me know if you need more information.
Thanks
Nesara
Sub VI Hangs at "Wait for event" invoke node - ActiveX code
in Calling External Code
Posted
Hi Jason
Yes VI will wait for 5 minutes and block everything. It will return from Wait for Next Event either after time out or after Ethernet plug/unplug event.
I can give less time out like 100 msec but application performance will reduce. I also learnt that since it is an external code LabView loses its execution control on it.
If I make this Sub VI as LabVIEW function block (yellow color blocks) then problem may solve. But pls let me know how do that.
Thanks
Nesara