05-30-2008 01:31 AM
05-30-2008 01:53 AM - edited 05-30-2008 01:54 AM
05-30-2008 02:06 AM
05-30-2008 02:08 AM
Hi diishen,
if you want 4 iterations, then you have to connect a 4, but the iteration counter starts with 0.
Mike
05-30-2008 02:22 AM
05-30-2008 06:56 AM
Thank you Norbert for the words of advice.
Try to avoid Stacked Sequence Structures at all cost. They are a nightmare to deal with when maintaining the code and they do not offer simple scalability, especially if you need to deal with parallelism.
As Norbert suggested, State Machines is the way to go. Try to avoid naming covention such as 1...2...3...4...5.......9999. Give the name of each case based on what that case does. Create a TypeDef Control for the state selector (you'll thank me after having changed it for the 5th time 😉 ).
There are probably 100's of examples in this forum.
RayR