-
-
Save JulianWgs/2fa20fabfa87d709a0b6c394eba9266c to your computer and use it in GitHub Desktop.
Hey @SpieringsAE, can you please create an issue an Github or Gitlab with a code example and example data (blf and dbc, may be shortened version is enough). I can't help you with the given information. Here you can find excellent guide. CAN data is very diverse and my library focuses on cleaning this mess up and making it accessible through a Pandas-like API. I am not sure if it will work with any CAN data, but I will look into it nonetheless :)
@JulianWgs Unfortunately my blf is 273 MB and I have no idea how to make it smaller, same with the generated .mat file.
Its not my log, it was sent to me with the request to analyze it, but I have no tools to do that with, never even heard of the blf file format before.
Still thanks for making this tool, without it I don't think I would have been able to extract any information from it at all.
Hi,
While using,
cd.from_file(db, database_logpath, names=[
# signals which you want to add
"signal1", "signal2",
],
For some reason this option is skipped and it processes all the signals. I don't get keyerrors, I am copying the signal names as they are shown in the mat file variables.
Is this a known bug? Is there any workaround?
When using
.to_dataframe(names=Names)
names are not skipped tho.
Hi, how long should I expect it to take reading in a 1 GB blt file the first time?
I also get the following status message when running from_file
:
The following IDs caused errors: {217841667, 1152, 1153, 1154, 1155, 1156, 1157, 1158, 1159, 1160, 848, 240, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 304, 305, 306, 307, 308, 309, 311, 312, 313, 320, 321, 322, 324, 325, 326, 327, 328, 329, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 368, 369, 370, 371, 372}
Is this something I should be concerned about? If so, is there any way to find out more about the errors caused?
Hey thank you for making this, I have one question.
One of my data fields seems to be a tuple instead of number, printing it looks like this:
How do i plot the values of this and ditch the string representation of the value?
the value is a stateflow state thats why its named.