07-29-2011 09:00 AM
Normally, a flat sequence structure in a for loop will excecute from left to right until it gets to the end and then repeat the left to right code as many times as the for loop tells it too.
I want to be able to change the order/manner in which the sequence loops around, so that my stacked sequence excecutes in the "Z" patter shown above. It needs to excecute from left to right until it gets to the end, and then bounce back (without repeating the last frame) and excecute right to left until it hits the beginning frame, bounce back again (without repeating the beginning frame), and excecute left to right until it hits the last frame, bounce back again, etc etc etc, as many times as I tell it to.
Any tips on how to achieve this?
Solved! Go to Solution.
07-29-2011 09:07 AM
Forget about the flat/stacked sequence diagram. They are only a LAST resort.
If all your actions was i sub vi's then just call them one by one in a while loop. You can use a error cluster wire to force the dataflow between the sub vi's.
Otherwise go look for Statemashine. There are a lot of inputs on this site for state mashines in LabVIEW.
07-29-2011
09:11 AM
- last edited on
07-08-2024
01:58 PM
by
Content Cleaner
@LarsUlrich wrote:
Any tips on how to achieve this?