Re: Stopping a timed loop from an event structure with multipleevents. Why can't I make this work?

This is a discussion on Re: Stopping a timed loop from an event structure with multipleevents. Why can't I make this work? within the labview forums in Programming Languages category; Don't put the timed while loop and the event structure in the same overall while loop.  What happens is that when you execute the OK, the event structure fires and basically ends.  The timed loop is still running up top.  You won't get around to the event structure for it to sit and wait for any more events until the overall while loop stops, and that won't happen until the timed loop stops. So you have a catch 22, you need the stop button to stop the top loop, but the stop button won't do anything until the top loop ...

Go Back   Application Development Forum > Programming Languages > labview

Object Mix

Register FAQ Calendar Search Today's Posts Mark Forums Read
  #1  
Old 01-08-2008, 06:10 PM
Ravens Fan
Guest
 
Default Re: Stopping a timed loop from an event structure with multipleevents. Why can't I make this work?

Don't put the timed while loop and the event structure in the same overall while loop.  What happens is that when you execute the OK, the event structure fires and basically ends.  The timed loop is still running up top.  You won't get around to the event structure for it to sit and wait for any more events until the overall while loop stops, and that won't happen until the timed loop stops.
So you have a catch 22, you need the stop button to stop the top loop, but the stop button won't do anything until the top loop ends and the overall loop comes back around to the event structure again.:smileywink:
Reply With Quote
Reply


Thread Tools
Display Modes


All times are GMT -5. The time now is 03:48 PM.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
vB Ad Management by =RedTyger=

In an effort to better serve ads to our visitors, cookies are used on objectmix.com. For more information, check out our Privacy Policy.