Jump to content
Sign in to follow this  
gustav

How does multiple event structures work?

Recommended Posts

Ok, so I am working with an application that has two event structures running in paralell loops. I didnt design the application, so I'm not completely sure how it works. One event ( quit button value change ) is handled in both event structures. What I'm wondering is, if an event is handled in multiple event structures, will all of them receive notification when the event occurs?

grateful for any clarification on this :) .

/Gustav

Share this post


Link to post
Share on other sites

QUOTE(gustav @ Feb 14 2007, 11:23 AM)

What I'm wondering is, if an event is handled in multiple event structures, will all of them receive notification when the event occurs?

Yes, provided is not a filter event.

As a side note, I have experienced some problems with dynamic events catched in multiple structures, sometimes events "get lost", so I advise caution.

Saludos,

Aitor

Share this post


Link to post
Share on other sites

QUOTE(Aitor Solar @ Feb 14 2007, 12:48 PM)

As a side note, I have experienced some problems with dynamic events catched in multiple structures, sometimes events "get lost", so I advise caution.

Events get missed quite often in LV 7.1.1 if there is more than one event listener running simultaneously but I have not seen it occurring in LabVIEW 8.0.1 nor 8.20. I think events were fixes for LV 8.

Tomi

Share this post


Link to post
Share on other sites

Anyone considering multiple event structures should read the online help topic:

"Caveats and Recommendations when Using Events in LabVIEW"

Launch LV, use Help>>Search the LabVIEW Help... and use the Search tab to find the above topic. Of particular interest to you will be the topic about "Avoid Placing Two Event Structures in One Loop." It has further details about avoiding hanging when using multiple event structures in general.

Share this post


Link to post
Share on other sites

QUOTE(Tomi Maila @ Feb 14 2007, 01:16 PM)

Is this only a problem with dynamic events, or with all? I'm working in labview 7.1.1 at the moment.

QUOTE(Aristos Queue @ Feb 14 2007, 05:04 PM)

Anyone considering multiple event structures should read the online help topic:

"Caveats and Recommendations when Using Events in LabVIEW"

Launch
LV
, use
Help>>Search the LabVIEW Help...
and use the
Search
tab to find the above topic. Of particular interest to you will be the topic about "Avoid Placing Two Event Structures in One Loop." It has further details about avoiding hanging when using multiple event structures in general.

Thanks, allthough I've allready had a look and it didnt answer this particular question. Definitely some good tips there though :) .

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...

Important Information

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