asammdf icon indicating copy to clipboard operation
asammdf copied to clipboard

Is it possible to get channel group using CAN ID/ message id?

Open shuyuan-wang opened this issue 3 years ago • 5 comments

Is it possible to get channel group using CAN ID/message id, not index from zero? no matter it is hex or decimal?

shuyuan-wang avatar Jun 20 '22 06:06 shuyuan-wang

have a look in mdf.bus_logging_map["CAN"] maybe it can help

danielhrisca avatar Jun 20 '22 10:06 danielhrisca

I can see that this method can show id for CAN dataframe: image but what I want is message dataframes: image

shuyuan-wang avatar Jun 21 '22 03:06 shuyuan-wang

The second picture is from a decoded measurement were a DBC was used to extract the signals front he raw CAN bus data

danielhrisca avatar Jun 21 '22 03:06 danielhrisca

is it possible to get the mapping of decoded message index and can id?

shuyuan-wang avatar Jun 21 '22 04:06 shuyuan-wang

is it possible to get the mapping of decoded message index and can id?

again the DBC file has this information

danielhrisca avatar Aug 30 '22 05:08 danielhrisca