rkmadse wrote:So, I simplified what I was doing, removed the state machine, and now it works fine. Not sure what the hang up was, but it seemed like it was going into a wait state before it was finishing the update on the indicators. So I'll see if I can just stick with the simplicity and make it work. I have attached that type def if you want to look further into what I was doing wrong.
1. No need for that local variable inside of the case structure. The indicator will update with the next loop iteration thanks to the shift registers.
2. You had a weird state machine going. What you have here is A LOT easier to understand. You just now enqueue all of the states you want to go into and in what order. If you get an E-Stop condition, use the Enqueue At Opposite End to make sure that is caught immediately.