Page 1 of 1

circular logging

Posted: Fri 5. Jan 2018, 09:52
by lukas
Hello
I have problems when using circular logging of CAN traffic on CompactFlash card.

Measurement setup:
CAN 1 load: 1 msg/ms
CAN 2 load: 1 msg/ms
CAN 3 load: 0 msg/ms
CAN 4 load: 0 msg/ms

______________start_____end______last timestamp in record [s]
Generated _____13:54____06:48_____60783;_____16:53

Measurement result:
record________start______end_____last timestamp in record [s]
trace 2________13:53_____15:12____4671;______01:18 *power reset at 15:12
trace 3________15:12_____06:48____47598;_____13:13
______________________________________sum = 14:31

I don't understand how circular logging works here. I assumed that newest data are saved and oldest data are discarded but it doesn't look like that.

Although trace 3 record starts with timestamp 3460 newest data are still lost. + Why is not trace 2 overwritten instead when it has older data than trace 3?

Re: circular logging

Posted: Fri 5. Jan 2018, 14:44
by P.Steil
Hello,

circular log will write until end of file. When end of file is reached overwriting continues
at start of actual session. All previous sessions are not touched. If the session does not
reach end of file, the session is kept and every power-cycle will create a new session.
Each new session will have the rest of the file for tracing.

You can clear all sessions at startup by a default value with:
Special OUT -> Trace Clear with value 2

Regards

Re: circular logging

Posted: Fri 5. Jan 2018, 15:11
by lukas
Could you clarify if my use case is not possible to do:

- I want to station PCAN-Router Pro on a machine
- Machine lives for multiple months with multiple power resets
- Some minor failure happens on machine that need to be analysed but machine continues to operate
- I want logs from couple of last days/power resets

Re: circular logging

Posted: Tue 9. Jan 2018, 13:45
by P.Steil
Hello,

this is similar to a session-limit. This is planned for a following firmware but not available
for the current firmware version yet.


Regards

Re: circular logging

Posted: Wed 17. Jan 2018, 13:55
by rwalisko
Hi,
I have the same problem on the machine. When to expect a new version of firmware?

Regards

Re: circular logging

Posted: Wed 17. Jan 2018, 16:36
by P.Steil
Hello,

actual we do not know the time when a new firmware will be on schedule.

Regards

Re: circular logging

Posted: Wed 18. Apr 2018, 08:46
by rwalisko
I have a question about whether something happened in this topic? This is very important for me.

Re: circular logging

Posted: Thu 19. Apr 2018, 10:03
by P.Steil
Hello,

sorry, there is still no firmware update on schedule.

Regards

Re: circular logging

Posted: Wed 27. Jun 2018, 09:11
by rwalisko
Hello. Is this year I can expect a software update that performs circular logging??

Regards

Re: circular logging

Posted: Wed 27. Jun 2018, 14:03
by PEAK-Support
No, it is not planed to implement this feature within the next release.