Don,
I think the constant is fine. That is how it is set up in Vision Assistant, and it can't tell if you are going to be changing it later. It really isn't that difficult to right click on a constant and select "Change to Control".
I like the idea of the state machine format. It would make the code much more compact, and it would be a lot easier to add/remove cases as well as reorder the steps.
Using the new image control would be nice also.
Bruce
Bruce Ammons
Ammons Engineering