danielhrisca / asammdf

Fast Python reader and editor for ASAM MDF / MF4 (Measurement Data Format) files
GNU Lesser General Public License v3.0
645 stars 224 forks source link

CAN-FD Frame: Signals from PDUs are missing #854

Open kruti2107 opened 1 year ago

kruti2107 commented 1 year ago

Python version

python: 3.9 os- windows-10 asammdf: 7.3.10

Description

Please describe the issue here.

I have faced problem with CAN-FD.

Since our current network architecture follows CAN FD structure, I have a data which contains frame with more than one PDUs and these PDUs contains required important signals.

But currently, when I applied extract_bus_logging() function, the signals which are presents in the PDUs are missing. It means, after applying extract_bus_logging(), I do not get PDU signals in output.

Based on code tracking, PDU signal extraction is not added yet. Correct me, if I am wrong.

Best regards,

kruti2107 commented 1 year ago

Hi @danielhrisca , can you look at once the fixes to handle the PDU signals. Here is the link to see changes: https://github.com/kruti2107/asammdf/pull/1

Thank you

Best regards, Kruti

kruti2107 commented 1 year ago

Hi @danielhrisca I am facing this issue for one of my database (.arxml ) file. Can you suggest me something what could be the reason? Based on my tracking, I noticed that, this issue occurs only, when signal size is more than standard size (i.e 8).

image

Best regards, Kruti

mikesmitti commented 1 year ago

Hi, I had also a problem related to multiple cascaded PDUs and the corresponding arxml-file with earlier versions of asammdf and canmatrix.

Finally, after getting a newer arxml file for the project, and using canmatrix==0.9.3 asammdf==7.3.2 the problem did not occure any more so far.

I did not investigate the problem any further, since it works and I had no more problems in this constellation. But maybe this can help you.

Best regards, mike