|Home Experiment Download Project Page at SourceForge|
The experiment compares two implementations of the control of the Märklin Model Railway. The first apllication was written in .Net with remote access and the second, our solution, use a realtime OS (QNX) and the rogramming language C/C++. For the source code look at the download section. The Märklin hardware is from the late 80's and consist of S88 Controller and other old periphery. The track is build with H0 rails.
To compare the both implementations we accelerate one locomotive to the maximum speed of 14 and in the second try of speed level 12. After the train pass over a contact, the program should instantly stop the engine. The results as shown in the table, demonstrate the braking distance of both applications.
This code runs automatically the test.
rem initial assumtions: