Skip to content

Resolve SW-13543 "Update the first line of asc file to use logging start time instead of asc file created time" #1903

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

AmanKAggarwal
Copy link

This is because we create the asc file when the user requests to export their log file into asc format. Using the file created time means when they open the generated ASC file in CANoe, CANoe identifies that created time as the session start time for data which is incorrect

@AmanKAggarwal AmanKAggarwal force-pushed the SW-13543-update-asc-file-start-time branch from 4ba1914 to a960a51 Compare December 16, 2024 23:40
@@ -394,6 +394,14 @@ def stop(self) -> None:
# This is guaranteed to not be None since we raise ValueError in __init__
if not self.file.closed:
self.file.write("End TriggerBlock\n")
if self.started is not None:
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why do you check for None?

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants