07-24-2006 03:06 PM
07-24-2006 03:17 PM
07-24-2006 03:26 PM
07-24-2006 03:52 PM - edited 07-24-2006 03:52 PM
Looks like the autorouter go t me. I didn't wire it to stop but must of got too close. Seems to work now as intended.
Thanks
Message Edited by mfitzsimons on 07-24-2006 03:53 PM
07-24-2006 04:03 PM
That certainly explains the hanging you saw. Remember that Event Structures by default will lock the front panel until the event case for a given event occurs. So in your VI, if you press Button 2 once, then you terminate the bottom loop. But the event structure is STILL registered for the Button 2 event. So when you press Button 2 again, the front panel gets locked, because the bottom event structure will never get to execute again (its loop has been terminated).
You could have fixed this (I realize it all boiled down to a mis-wired connection) by unchecking the check box in the Edit Events dialog for your Button 2 Value Change event case that says "Lock Front panel until...".
Hope this explains this, even though you've solved it!