04-26-2012 03:23 AM
I'm using the example "SequenceFilePostStepFailure" so that the user can decide what to do when a step failes. If you choose "retry", the program returns and reruns a VI inside a ForEach loop. The problem is that the ForEach loop loads the VI with the next set of parameters.
Is there a way to control this? I would like the ForEach loop to not increment when the user wants to retry the step. It seems to me that the whole loop is considered 1 step, and that it is incremented because the whole loop is re run.
I was told that this is not the case if it's an error instead of a failure, and the user presses "retry".
Thanks
04-26-2012 04:07 AM - edited 04-26-2012 04:08 AM
Never mind, i figuered it out. "RunState.Caller" were setting values in the wrong sequence.