JMRI is...

Tools

JMRI provides powerful tools for working with your layout.

Layout Automation

JMRI can be used to automate parts of your layout, from simply controlling a crossing gate to running trains in the background.

JMRI: Fast Clock

JMRI provides two kinds of Fast Clock capability: This help page describes the overall structure. There are separate pages for LocoNet clocks and NCE clocks. As yet, we don't have interfaces for clocks in other DCC systems.

There are two different parts to consider: A "Timebase" provides the basic time information, while one or more displays show you what's going on.

Fast Clock Timebase

To create a Timebase, use the "Set up Fast Clock..." item in the "Clocks" submenu under the JMRI "Tools" menu. This gives you a window where you can:

Fast Clock Display

Once you have created a timebase by configuring it in that window, you can open clocks that will display on your screen. Currently, JMRI has three types available:

When a clock is running, JMRI creates an internal sensor and a memory variable that you can use to control and access the clock. The ISCLOCKRUNNING sensor controls whether the clock is running (ACTIVE) or stopped (INACTIVE). The IMCURRENTTIME memory contains the current fast-clock time, and can be easily accessed from Logix and scripts.

Happy timekeeping!