Skip to content

JMRI 5.15.1 and UWT-50 CDI issue #209

Open

Description

@atanisoft

UWT-50 CDI is loaded successfully but the field data is not working as expected for Throttle Settings -> Change Buttons -> Button 2 -> Common. JMRI is marking that field as modified since it doesn't recognize the value for the field (0x0008) as valid.

Traffic monitor output for this specific field:

S: 02.01.12.26.0E.3B - 09.00.99.02.01.26 Datagram: (7) 20.41.0.0.0.86.2
R: 09.00.99.02.01.26 - 02.01.12.26.0E.3B DatagramReceivedOK with payload 80
R: 09.00.99.02.01.26 - 02.01.12.26.0E.3B Datagram: (8) 20.51.0.0.0.86.0.8
S: 02.01.12.26.0E.3B - 09.00.99.02.01.26 DatagramReceivedOK with no payload

Activity

  1. bobjacobsen commented on Apr 10, 2023

    @bobjacobsen
    Contributor

    I'd like to take a look at this. Could you download the CDI XML file with e.g. the Memory Tool in the latest JMRI version and then attach it here? Thanks.

  2. balazsracz commented on Apr 10, 2023

    @balazsracz
    Collaborator
  3. balazsracz commented on Apr 10, 2023

    @balazsracz
    Collaborator
  4. balazsracz commented on Apr 10, 2023

    @balazsracz
    Collaborator

    CDI.txt
    full cdi

  5. bobjacobsen commented on Apr 10, 2023

    @bobjacobsen
    Contributor

    There are some DecoderPro decoder definitions that do similar things (if I'm understanding correctly). DP manages this by adding a "Reserved value NN" item to the JComboBox when an unexpected value NN is encountered. That's a transient addition, so doesn't show up if just the listed values are being used.

    Would that be a suitable solution here?

  6. bobjacobsen commented on Jan 16, 2025

    @bobjacobsen
    Contributor

    I think this is now fixed along the lines of how DecoderPro does it (see above). If the 2nd field is set to e.g. 27, the first field will get a new entry in the combobox: "Reserved Value: 27" which is shown as selected. Does that let us close this issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions