Author: Dave Sand
Keywords: JMRI logixng tables csv table

# JMRI: LogixNG Tables Table

The LogixNG tables table contains a list of the defined LogixNG tables.

- Table Content
- Select Actions
- Menu Items
- Add a LogixNG Table

## Table Content

The LogixNG table lists all of the currently defined LogixNG tables. Each row has a standard set of columns.

System Name
  The system name for the LogixNG Table. LogixNG table system names have an IQT prefix normally followed by numbers. For details about the LogixNG Table system name, see Add a LogixNG Table. The system name cannot be changed.
User Name
  The user name for the LogixNG Table. This is a free form field that contains a meaningful name.
Comment
  A free form comment field for the LogixNG
Menu
  The Select combo box is used to select actions for the selected LogixNG. See Select Actions

## Select Actions

The dropdown combo box has 4 actions that can be applied to the current LogixNG row.

Edit
  When Edit is selected, the LogixNG table editor will open. This window will contain the contents of the CSV file that has been loaded. See LogixNG Table Editor for details.
Browse
  The Browse option opens a text window with a representation of the definitions within the LogixNG table. See LogixNG Browser for details about the browser.
Copy
  The Copy action is used to create a duplicate of the current LogixNG table. Note: This feature is not available yet.
Delete
  The Delete action deletes the current LogixNG table and its content. A confirmation dialog will be displayed.

## Menu Items

Tools
  The tools menu has one item: Open PickList Tables. The PickList was designed for dragging names, such as sensor names, to a text field. Due to the implementation of ConditionalNG edit dialogs, the drag and drop capability does not function. It can still be used as a reference.

## Add a LogixNG Table

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

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

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 LogixNG Table. Once a LogixNG Table is created, its system name cannot be changed. Its user name may be changed in the LogixNG Tables Table. The user name is usually used to provide a more descriptive name, for example, "Signal 5 Table".

Use the file selector button to find and and load a CSV file. The CSV file is created by using the export CSV file option in a spreadsheet program. The default location will be the user files location.

The ability to create an internal table is not implemented yet.

After clicking Create, the LogixNG Table will be created and the Table Editor window will appear.