Case Studies
The following section presents a selection of case studies. In order to test these examples, it is necessary to download and install StateWORKS Studio on your computer.
Calculator
Section titled “Calculator”A calculator is the perfect example of a seemingly simple application that in most cases gets thoroughly flawed in the coding: the most famous is Windows Calculator. StateWORKS allows you to structure your design and avoid errors in very complex applications.
Railroad Crossing Signal
Section titled “Railroad Crossing Signal”Traffic light control at a crossing of a railway and a road. For this case study, you find the complete project files in ‘Examples-Book’ folder as received with StateWORKS Studio.
Microwave Oven
Section titled “Microwave Oven”Control of a microwave oven. For this case study, you find the complete project files in ‘Examples-Book’ folder as received with StateWORKS Studio.
Gas Control
Section titled “Gas Control”Control of three gas inlets. Presents a hierarchical system of state machines. For this case study, you find the complete project files in ‘Samples’ folder as received with StateWORKS Studio.
Industrial Control
Section titled “Industrial Control”Supervision of a regulating system. Usage of RTDB objects. For this case study, you find the complete project files in ‘Examples-Book’ folder as received with StateWORKS Studio.
Dining Philosophers
Section titled “Dining Philosophers”You probably know the text book problem: “There are five philosophers sitting at a round table who do nothing but think and eat. Between each philosopher there is a single fork. In order to eat, a philosopher must have both forks”.