PDA

View Full Version : State Engine?



bsa
October 13th, 2002, 12:55 PM
Hello,

How does the state engine work? It seems a little odd to me. Shouldn't a state change only occur each time a command/multiple-group occurs. Currently (3.0.24) it looks like the state on each command within a multiple group changes each time. So, my thinking is that in a multiple-group execute all commands at state 1, next time through increment the state and execute all commands at state 2.

I'm trying to push numbers into registers and then execute them after an enter button or timeout. So, during state 1 the entered number goes from reg1->reg2, state 2 reg1->reg3,... for X digits. I'm currently building for 5 digits (reg2..6). Reg2 gets filled, then 6,5,4,3. Any ideas on this?

Thanks,
Brad

bsa
October 13th, 2002, 12:55 PM
Okay,
It looks like a command will be executed on state 1 or every other state if checked. I can wrap my mind around this.
Thanks,
Brad