07-23-2025 10:53 AM
I was just wondering if there was a way to see if a CAN signal is readable or writable before you actually deploy it in a session? Whether that's through property nodes or other means.
07-23-2025 11:48 AM
07-23-2025 12:03 PM
Thanks for the reply, that makes sense from a CAN perspective but to clarify... Is there a way (before I actually deploy a session) to tell which signals in a DBC are intended to be transmitted by my node versus signals that are only ever received from other ECUs?
07-23-2025 12:06 PM
rob,
It would need to be defined as either a CHARACTERISITC or MEASUREMENT within the DBC file. As to IF it is writeable, that may be another story. Some segments are locked and require running a separate flash kernel in order to gain access to some locations. This all depends on who owns the firmware and how it was designed with respect to expectations of the user/environment.
07-24-2025 12:43 AM
Hi rob,
@robv1234 wrote:
Is there a way (before I actually deploy a session) to tell which signals in a DBC are intended to be transmitted by my node versus signals that are only ever received from other ECUs?
The DBC files I worked with usually defined the "owner" of the messages defined in the DBC. (My background is "listening to automobile ECU CAN bus" while "commanding devices on a different CAN bus".)
Usually there is a section in the DBC file defining all participants on the CAN bus and (usually) messages are assigned to those devices!
07-24-2025 04:52 AM
DBC file contains ECU information, which store the transmitting and receiving frames.
You could parse this information to see which the direction of the frames from a certain node point of view, but XNET won't stop you from writing/sending a "receiving frames".
07-24-2025 08:29 AM
A follow up question I had is can you also parse the information to see which signals are digital and which are analog?
07-24-2025 09:09 AM
Hi rob,
@robv1234 wrote:
A follow up question I had is can you also parse the information to see which signals are digital and which are analog?
All CAN signals are digital, they consist of one or more bits…
I guess you want to know how many bits are used by the signal?
Yes, this information is in the DBC! Each signal is defined by its bit position inside the message and the number of bits used for the signal…
07-24-2025 10:49 AM
Also, arrays of values are noted as a MATRIX within a CHARACTERISTIC. There are several types of arrays.