05-14-2008
02:46 PM
- last edited on
05-15-2008
04:36 PM
by
Support
05-14-2008 02:55 PM
You've got several issues to clean up before you can figure out what the problem is.
1. Race conditions, you read local variables of your SR values that go to the parse sub VI then to your save to file VI. It is very likely they will get read before the data is put to them inside of your loops.
2. Why do you write to an indicator and to the local variable of the indicator at the same time? Get rid of those local variables.
3. Your Stop button is read before your loops start, so if you hit the stop button you will have to wait for the loops to stop based on the other conditions, then wait for all the loops to begin again and run once before the outermost loop stops.
4. You have while loops 3 layers deep (with a stacked sequence in between). Nothing good is going to come of that and may very well be the reason for your delays.