Understanding an error #460
Unanswered
MichaelBMiner
asked this question in
Q&A
Replies: 1 comment
-
Hi.
I assume you might have wanted the factor to be 10? Hint: My brain does suck at remembering binary. The way I remember the order this is supposed to be calculated is the following: Factor and offset both carry the unit of the physical value. The raw value is unitless. If you can recall that, you will be able to reconstruct the correct sequence those values are applied to get from one to the other. I have to do that every single time :). |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
I am having trouble understanding and error I am seeing. It is
Signed integer value 53134 out of range.
My code and DBC are very simple. My message and signals are:My code is very simple. I am trying to use cantools and my DBC to generate random data to flood my DUT with.
The error I am seeing is as follows:
Aftertreatment_1_Diesel_Exhaust_Fluid_Doser_3_Pressure_Extended_Range 5213.4 5213 Signed integer value 53134 out of range.
This confuses me as the values, float and int and within the appropriate range of my DBC signals range. What am I missing here?
Beta Was this translation helpful? Give feedback.
All reactions