Smart label selector values & minus figures

Multidrive
Posts: 8
Joined: Thu Mar 14, 2013 9:44 am

Smart label selector values & minus figures

Post by Multidrive » Fri Dec 18, 2015 12:42 am

I tried to use a smart label to display a J1939 message from the transmission - Current_gear. This reports the gearbox status as follows:
Reverse1: -1
Reverse2: -2
Reverse3: -3
Neutral: 0
1st gear 1
2nd gear 2
etc., etc., and these figures were entered in the selector value field.
The smart label Display value should have read:
R1
R2
R3
N
F1
F2
F3
However, the display only shows the enumerated values from zero upwards it will not enumerate the minus figures.
V2.7.10475
PV780
Using Windows 7
stalley
Enovation Controls Development
Enovation Controls Development
Posts: 618
Joined: Tue Mar 18, 2014 12:57 pm

Re: Smart label selector values & minus figures

Post by stalley » Fri Dec 18, 2015 8:58 am

Hello Multidrive,

Thank you for mentioning this. The bug is that you were able to enter a negative number for an enumeration value. The enumeration variable is an unsigned int.

In 2.8.10366, you aren't able to enter a negative number as an enumerator.

Sorry for the confusion.
Sara Talley
Software Engineer
Enovation Controls