regisphilbin Posted September 4, 2003 Report Share Posted September 4, 2003 Hi, I'm wondering if using a "Wait" Function within an event prevents the event structure from "seeing" incoming events? I seem to have this issue and am wondering what type of work arounds can be used.... BTW, my application requires the use of various timeouts. I'm running a sequence of time-based fieldpoint tasks. Instructions: Open both VI's. Run "Caller_simplified.vi". Click on "Start" - This will start a sequence in the "called_Simplified.vi". Occasionally, switching the "Start" to its False state will stop the Sequence, other times not.... **** On the side, please feel free to comment / criticize on the structure of the VI. If there is something that I'm doing obviously incorrectly, please let me know... Thanks, Regis Download File:post-15-1073112019.zip Quote Link to comment
Michael Aivaliotis Posted September 4, 2003 Report Share Posted September 4, 2003 I think I found your problem. You should never split the event registration refnum. If you delete the connection circled in the image below you will see that everything works fine. You are not using any of the dynamic events in that event structure anyway so why do you have it wired? I think this was mentioned at NIweek this year in the presentation on event structures. Even though the top event structure does not have any event cases to handle the events, it still looks at the events and if it catches it first will discard the event. Quote Link to comment
regisphilbin Posted September 4, 2003 Author Report Share Posted September 4, 2003 Thanks Michael, That seems to have fixed the problem....I guess I've just gotten so used to wiring to the dynamic events structure that I forgot that it wasn't being used.... Now, if i did want to use dynamically registered events within this top VI, then I'd have to have 2 register for events twice? Regis Quote Link to comment
Jim Kring Posted September 4, 2003 Report Share Posted September 4, 2003 Now, if i did want to use dynamically registered events within this top VI, then I'd have to have 2 register for events twice? Yes. -Jim 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.