JMRI® is...

Tools

JMRI tools for working with your layout:

Layout Automation

Use JMRI to automate parts of your layout and operations:

Supported Hardware

JMRI supports a wide range of DCC systems, command stations and protocols.

Applications

By the community of JMRI.org:

JMRI Web Site:
Contents/ Index

Donate to JMRI Donate to JMRI.org

JMRI: Fast Clocks

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.

Lights can be an easy way to set up Fast Clock Logic, see Light Controller - Fast Clock Follower.

Happy timekeeping!