11-08-2007 04:11 PM
11-08-2007 08:03 PM
11-09-2007 12:07 AM
Please attach the real VI instead of a picture.
SInce you wire a boolean TRUE out of the stop event, the loop should stop no matter if the button goed on or off.
I see several problems and inconsistencies. For example:
To troubleshoot the problem, we need to see the entire VI.
11-09-2007 08:41 AM
11-09-2007 09:07 AM
11-09-2007 09:50 AM
11-09-2007 09:59 AM
11-09-2007 10:24 AM - edited 11-09-2007 10:25 AM
11-09-2007 10:31 AM
Look, if you only attach a picture, we can only comment on what we see! 😄
The main diagnosis ("race condition"!) has already been mentioned. The point about the event structure inside a case structure is serious and could possibly cause problems like you observe, but it is not possible to tell from the picture for sure. Your picture shows very little, but what it shows does not make sense. I just pointed out the two most glaring observations. Since you say yourself that you are a noob, such comments can help. A program that is clear and does not contain unecessary things is much easier to debug.
Typically, the quality of the answer cannot be better than the quality of the question. You don't provide enough details and the image you posted is useless to pinpoint the problem.
Analogy:
You don't bring a picture of your motor to the mechanic and ask why the car does not start. Unless the picture show that the motor is missing or on fire, nonbody will be able to tell what's wrong. 🙂
All we can say for sure so far is that have a race condition. Provide some code (even broken) and we can give a more detailed analysis.
11-09-2007 12:45 PM