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

JMRI Help:

Contents Index
Glossary FAQ

Donate to JMRI Donate to JMRI.org

JMRI: LogixNG Table Editor

The Edit LogixNG table contains a list of the defined ConditionalNGs.

Table Content

The LogixNG Editor table lists all of the currently defined ConditionalNGs.

LogixNG Editor
System Name
The system name for the ConditionalNG. ConditionalNG system names have an IQC prefix normally followed by numbers. For details about the ConditionalNG system name, see Add a ConditionalNG. The system name cannot be changed.
User Name
The user name for the ConditionalNG. This is a free form field that contains a meaningful name.
Thread
The thread field shows the currently assigned thread name. It is changed by using the Edit threads button.
Edit
The Edit button opens the ConditionalNG Editor window.
Debug
Advanced feature.
Delete
The Delete button deletes the current ConditionalNG and the ConditionalNG content. A confirmation dialog will be displayed.
Delete ConditionalNG Confirmation
Edit threads
This is an advanced feature.
Show startup thread checkbox
This controls the Thread field display. When unchecked, it displays the main LogixNG thread. If checked, it displays the assigned startup thread.

Add a ConditionalNG

To create a new ConditionalNG, click on the Add... button. The Add ConditionalNG window will be displayed.

Add ConditionalNG

The system name is required. The system name for a ConditionalNG always begins with the letters IQC. If the entered name does not start with IQC, it will be automatically added. The typical suffix is a number. If Automatically generate System Name is checked, the system name format will be IQC:AUTO:nnnn. Any other format requires adding a $ (dollar) character between IQC and the suffix.

The ConditionalNG system name is not derived from the the parent LogixNG system name. This is different than the Logix procedure.

The user name is optional but recommended. A user name may be any useful text, provided the new user name was not previously assigned to another ConditionalNG in this LogixNG. The user name can be the same as another ConditionalNG that is in a different LogixNG.

Once a ConditionalNG is created, its system name cannot be changed. Its user name may be changed in the Edit LogixNG window. The user name is usually used to provide a more descriptive name, for example, "Signal 5 Control".

After clicking Create, the ConditionalNG will be created and the Edit ConditionalNG window will appear.

Reorder

During initial startup of a LogixNG, the ConditionalNGs will be executed in sequence. The sequence for subsequent executions is dependent on JMRI change events.

When the Reorder button is pressed, the Edit labels for each row will change to First. After the first ConditionalNG is selected, the label will change to 1 and the remaining labels will change to Next. As each Next is selected, the label will change to the new row number. When all of the Next labels have been selected, the labels will change back to Edit.

Execute

When the Execute button is pressed, the ConditionalNG Expressions will be evaluated using the current JMRI states and the appropriate Actions will be performed.

Close

When the Close button is pressed, the Edit LogixNG window will close.

Delete

When the Delete button is pressed, the LogixNG, its ConditionalNGs and related content will be deleted. The LogixNG delete confirmation dialog will be displayed.