05-10-2013 02:19 PM
Hi,
I am trying to create a state machine that runs two states, each state has two elements going to a Bundle function and into the cluster. I want the two elements from the first state to go through, then the second state should run and pass the final two elements. Currently I am only getting the data from the final state. I have an the vi attached.
Thanks,
Chris
Solved! Go to Solution.
05-10-2013 02:27 PM - edited 05-10-2013 02:33 PM
You don't actually have a state machine. What you have is a basic loop, and nothing about what happens in earlier iterations of the loop gets passed to later iterations.
You need to build the cluster within the loop itself and maintatin it in a shift register. Use bundle by name to update the respective elements of the cluster in each frame of the case structure.
05-10-2013 02:43 PM
Thanks for the reply RavensFan, that helped a lot.
Chris