doradorachan Posted January 29, 2015 Report Share Posted January 29, 2015 Hey guys, I am trying to debug a project developed by another developer and I see 2 event structures in the Main VI with UI. They both have different timeout values set and one of the ES is sending commands through User Events to the other ES which is part of a QSM. Since I've never come across a design with multiple ES, I wanted to understand the design before I proceeded. I did a little search regarding this matter but the conversation usually drifted and it was a bit confusing for a developer like me Suppose we limited 1 event structure per block diagram? Using multiple (2) event structures in 1 VI What I got out of it was Advantages -able to capture and process multiple events in parallel so that a single event that might take some time to complete won't freeze other events -able to compartmentalize events into different categories -different timeout values mean different polling frequency Disadvantages -a bit more maintenance required than a single ES design Is there a thread or resource that summarizes and describes this design? Quote Link to comment
Antoine Chalons Posted January 29, 2015 Report Share Posted January 29, 2015 maybe take a look at this discussion on JKI forum. hope this helps Quote Link to comment
dannyt Posted January 29, 2015 Report Share Posted January 29, 2015 I do not know if this will be useful but there is a really good presentation with example code and a video covering User Events in general and various pitfall / misunderstandings. T The example code is here https://github.com/wirebirdlabs/LabVIEW-User-Events-Tips-Tricks-and-Sundry I cannot find a link the the VID but the title is Jack Dunaway_User Events Tips and Tricks but think it was given at NI week 2013 (try https://lavag.org/topic/17040-niweek-2013-videos/) EDIT Sorry I have just seen this has already been mention in one of the links you posted...... Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.