CANBUS-Analyzer icon indicating copy to clipboard operation
CANBUS-Analyzer copied to clipboard

Reset packet counts, graphs, etc. when a new file is loaded

Open Bokonon79 opened this issue 6 years ago • 1 comments

I've noticed that if you load one log file, and then load a second file, the packets from the second file are added to the first file.

This could be useful if someone wanted to analyze CAN messages from multiple capture sessions (e.g. beginning of a charging session + end of a charging session), but I'm not sure how common of a use-case that is.

The other potential "gotcha" is that, if we start plotting the graphs based on timestamps (rather than sequence), multiple files might produce charts with large gaps in the middle.

Would it make more sense to clear out all of the packet counts when a new file is loaded?

Bokonon79 avatar Jan 05 '19 07:01 Bokonon79

Yes, I agree, it should start from zero with any new log file, feel free to implement if you see a quick way to do it.

amund7 avatar Jan 05 '19 15:01 amund7