Tutorial: Integrate an emWin Application with the redBlocks Simulator (Step 4)

In order to let the application run within the SiL environment, switch to the redBlocks Simulator and select "Simulation -> Start Simulation". Then go to the redBlocks Workbench, build the project and let it run.

The simulated display in the redBlocks Simulator now shows the content of the display and the GUI can be operated via the touch panel like on the real device:

Simulator Window

 

Unlike all other solutions that can be used for automated embedded GUI testing, the redBlocks Simulator is able to test the interaction of the GUI and your application logic in conjunction with all involved peripherals, e.g. temperature sensors, motors, valves, ...

All these interfaces can be used together with the touch panel and the display content in order to define integration tests that cover the complete application logic. And by using the redBlocks Simulator's test recorder, test scripts can even be generated without programming.