The control interface of the system, implemented in .Net 4.6, provides a GUI including multiple software tools to organize rehabilitation exercises and monitor rehabilitation progress. The heart of the control interface is a State Machine, which drives both the parameterization and the execution of the exercises. Each exercise is divided into single tasks: the State Machine drives the exercise execution throughout the tasks, while the execution of each single task is controlled by the ECS. The ECS controls all the modules requiring real time constraints, such as the stimulator, the FES controller and the exoskeleton sensors. To keep the control interface and the ESC synchronized, a strict master slave concept using a custom made communication protocol was implemented, meaning that the ECS must not act independently, but only reacts to commands sent by the high level control. Transitions between states of the state machine and thus tasks of the exercise are triggered by angle sensors data, RFID data or a timer (depending on the task). Transitions have to fulfill certain conditions, so called guards. These guards are predefined for each task and have to be parameterized as described in the Section D. The GUI guides the user through the training by providing visual instructions and feedback.