JMRI - Layout Automation
JMRI applications provide a large number of ways of automating your layout, ranging from simple fill-in forms to full-fledged scripting and programming capabilities. These include:- Routes
- A simple form of automation is to define Routes, which allow you to simplify the control of your turnouts. A Route can set various outputs when other events occur.
- Signal logic
- JMRI provides built-in signaling logic which can be used to drive your signal heads in many applications.
- Logix
- Logix allow you to use simple logical expressions to control events on the layout. They are more flexible than Routes, and can do more complicated things. They also can handle special signaling logic beyond that of JMRI's pre-built signal logic.
- Scripting
- JMRI provides a very powerful scripting tool. Based on a real programming language, it gives you access to all the JMRI capabilities.
- Writing your own code in Java
- The JMRI libraries greatly simplify writing a program to make your layout do exactly what you want.