Bug: Unable to set 0 byte length

mbowdich
Posts: 209
Joined: Tue Oct 05, 2010 10:54 am

Bug: Unable to set 0 byte length

Post by mbowdich » Wed Nov 17, 2010 9:31 pm

With the 2.1 patch installed:

When trying to set the byte length in the J1939 parameter mappings for an SPN, it cannot be set to 0 if previously set to another value. For example, I accidently set the byte lenght to 4 when meaning to set the bit length. I was able to set the bit lenght to 4, but it will not accept a 0 for the byte lenght, it just sets back to the previous value when clicking or tabbing off the the selection. It does allow changes to and from other non-zero values, but not to a 0.

The only solution I came up with is to delete the line and re-enter it.
jpratt
Enovation Controls Development
Enovation Controls Development
Posts: 222
Joined: Mon Jun 21, 2010 11:18 am

Re: Bug: Unable to set 0 byte length

Post by jpratt » Thu Nov 18, 2010 7:59 am

In the patch we now limit the byte length to 1 instead of 0. This is because the byte length is used in the total length of the SPN. So any bit value greater than 0 should have a byte value of 1. In fact the default should be 1 and not 0.

Hope that makes sense. I will get the default changed in the next release to make it less confusing.
Jake Pratt
Software Development Manager