You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Date information in header of .asc file contain 6 digits of milisecond and somehow violate CANoe 14 rule. 3 digits is accepted
Not work: date Mon May 23 03:29:03.103xxx PM 2022
Worked: date Mon May 23 03:29:03.103 PM 2022
Propose fix
Use same logic to get datetime when write begin trigger block
File asc.py, line 368-369
Change from
Thanks to @tienlocnguyen , this solution solved my issue.
I created a PR #1357 to fix this issue. Sightly difference, since can_logconvert should also be fixed.
Describe the bug
Logged .asc file by python-can is not able to open in CANoe 14
To Reproduce
Expected behavior
Can replay log by CANoe 14
Additional context
OS and version: Window 10
Python version: 3.8
python-can version: 4.0.0(https://github.com/hardbyte/python-can/releases/download/4.0.0/python_can-4.0.0-py3-none-any.whl)
python-can interface/s (if applicable):
Root cause
Date information in header of .asc file contain 6 digits of milisecond and somehow violate CANoe 14 rule. 3 digits is accepted
Not work: date Mon May 23 03:29:03.103xxx PM 2022
Worked: date Mon May 23 03:29:03.103 PM 2022
Propose fix
Use same logic to get datetime when write begin trigger block
File asc.py, line 368-369
Change from
to
Tested and can open in CANoe
The text was updated successfully, but these errors were encountered: