JMRI® is...
The Next Generation of Layout Automation
JMRI tools for working with your layout:
Layout Automation
Use JMRI to automate parts of your layout and operations:
By the community of

JMRI Help:

Contents Index
Glossary FAQ

Donate to JMRI Donate to

JMRI: Inline LogixNG

Inline LogixNG is an alternate approach to managing LogixNG definitions. The standard approach is to create the LogixNG and its ConditionalNGs using Tools ⇒ Tables ⇒ LogixNG. The Inline LogixNG approach associates a LogixNG with a panel object.

An example could be setting the aspect for a signal mast to approach instead of stop after starting PanelPro. This example runs the set signal mast aspect action during LogixNG initialization.

Inline LogixNG example

Create/Edit Inline LogixNG

When a panel object is eligible to have an Inline LogixNG, the context menu will have an additional entry.

Inline LogixNG context menu item

Click on Inline to open the LogixNG editor window. If one does not exist, a new LogixNG will be created. Creating and editing ConditionalNGs is done the same way as the standard LogixNG approach.

When the ConditionalNG is executed, it has two special Local Variables.

_ _Editor_ _
The value will be the panel name that contains the object.
_ _InlineLogixNG_ _
The value will depend on the object type. It might the object's display name, it might be the internal Layout Editor id such as TO3 (the third turnout) or maybe the object type.

If a panel object that has an associated LogixNG is being removed, a dialog is displayed.

Inline LogixNG inline delete

If Yes is selected, the LogixNG will be deleted and the object remove process will continue. If No is selected, the object remove will not occur.

Inline LogixNG Table

A list of the Inline LogixNGs is displayed at Tools ⇒ LogixNG ⇒ Inline LogixNGs.

Inline LogixNG inline table

The Edit column provides direct access to the LogixNG and an option to Delete the Inline LogixNG.

The table columns can be sorted. The Panel and Type filters can be used to limit the rows in the table display.