JMRI: Id Tag Documentation
Id Tag
An Id Tag is JMRI's way of representing information about Id Tags that can be attached to, for example, various items of rolling stock.
When an Id Tag is read by a suitable reader, this is notified via both a Sensor becoming ACTIVE and a Reporter being set to the value of the Id Tag. The Id Tag will also record both by which Reporter it was last seen by, as well as the time it was last seen.
If an unknown Id Tag is detected by a reader, details of this tag will be automatically entered into the Id Tag table.
At system shutdown, the details of all Id Tags known to the system are written to a file stored in the "idtags" sub-directory of user preferences. The storage of details when and where a given Id Tag was last seen is configurable by setting the option at the bottom of the Id Tag table.
Current implementations are for CORE-ID based readers. These are supported in
stand-alone mode via the 'Generic Stand-alone' protocol and as an up-to 8-way
concentrator using MERG hardware via the
'MERG Concentrator' protocol.
Note: The MERG starter kit as supplied
should be configured using the 'Generic Stand-alone' protocol - only when
extending the kit with the additional concentrator components should the
'MERG Concentrator' protocol be used.
Id Tag Table
The Id Tag Table provides easy access to the contents of all Id Tags that JMRI knows about. There's also an "Add..." button for creating your own Id Tags; JMRI automatically creates Id Tag objects for tags detected on the layout.Displaying Id Tags on Panels
An Id Tag can be displayed on a panel via the use of the Reporter icon associated with a given reader. To do this:- On the Panel Editor window for your panel, find the "Add Reporter" button.
- In the text box next to that button, type the user name or system name of the desired Reporter.
- Click the button. The Reporter icon will be placed on the panel. If it's not visible, that might be because the value is currently blank; use the Reporter Table to change the value to something that will be visible.
- You can drag the icon to where you want it in the usual way.
- The pop-up menu on the icon will let you change the formatting.
More information about Reporters can be found in the Reporters help page.