With a simple example, this article describes how state machines can be effectively applied in real-time multi-tasking applications. Certain applications need to know where they are in a sequence of operations and it is applications like these that require state logic. Even if the formal state machine approach shown above is not employed, some form of state machine logic must be used otherwise errors will result. State machines are a must in applications like communications, robotics, process control and the like, since each of these involve a sequence of operations. State machines become indispensible when handling error conditions and recovery procedures because a knowledge of the machine state is required to effect said procedures properly.
View Entire Paper | Previous Page | White Papers Search
If you found this page useful, bookmark and share it on: