I am new to CAPL and Canoe, my question is when assign value to signal in CAN message should you assign using physical signal like this:
MSG.Signal_A = raw_data * scale + offset;
Or just assign the raw_data:
MSG.Signal_A = raw_data;
I am learning using demo version and simulation without real HW so i do not know how to check.
I was expecting to use physical value because CAPL kind of look like C++ to me. I think the message ID object is a wraper for a raw CAN frame and it has internal method to convert between raw and physical.
Dung Nguyen is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.