Jump to content

Nesara

Members
  • Posts

    2
  • Joined

  • Last visited

Posts posted by Nesara

  1. I notice that you have a time out set for 5 minutes. Are you saying that the VI will wait for 5 minutes and block everything or that it will never return from the Wait For Next Event.

    Jason

    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

  2. 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

    WMI_EVENT_Notification.vi

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.