06-30-2006 06:40 AM
06-30-2006 06:40 AM
06-30-2006 08:15 AM
YZ,
Sequence structures are not really good for this sort of thing. I would suggest that you use a state machine type architecture. using this type will give you many benefits and is very easy to upgrade and reuse if needed. Look in the example and do a search on the forum for state machines.
06-30-2006 09:11 AM
I must agree with joe, anytime I see a sequence a state machine comes to mind, this is a much more flexible solution since you can easily modify the order of a sequence, skip steps by just modifying the transition logic. I made the change from sequence to state machined about 3-4 years age and havent looked back. Finite automata is a very well studied and mature design pattern and is easily modeled and implemented in labview. The only disadvantage to it is that it is a little bit more conceptually difficult to grasp than a sequence structure.
Paul