circular logging

4-Channel CAN Router with Data Logger
Post Reply
lukas
Posts: 10
Joined: Fri 5. Jan 2018, 08:40

circular logging

Post by lukas » Fri 5. Jan 2018, 09:52

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?
Attachments
pcan_logging.ppproj
PCAN-Router Pro conf
(16.78 KiB) Downloaded 664 times

User avatar
P.Steil
Hardware Development
Hardware Development
Posts: 32
Joined: Fri 14. Jan 2011, 10:27

Re: circular logging

Post by P.Steil » Fri 5. Jan 2018, 14:44

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
--------------------------------------------
PEAK-System HW development Team
support@peak-system.com
phone: +49-6151-8173-20
fax: +49-6151-8173-29
--------------------------------------------

lukas
Posts: 10
Joined: Fri 5. Jan 2018, 08:40

Re: circular logging

Post by lukas » Fri 5. Jan 2018, 15:11

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

User avatar
P.Steil
Hardware Development
Hardware Development
Posts: 32
Joined: Fri 14. Jan 2011, 10:27

Re: circular logging

Post by P.Steil » Tue 9. Jan 2018, 13:45

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
--------------------------------------------
PEAK-System HW development Team
support@peak-system.com
phone: +49-6151-8173-20
fax: +49-6151-8173-29
--------------------------------------------

rwalisko
Posts: 4
Joined: Wed 17. Jan 2018, 13:51

Re: circular logging

Post by rwalisko » Wed 17. Jan 2018, 13:55

Hi,
I have the same problem on the machine. When to expect a new version of firmware?

Regards

User avatar
P.Steil
Hardware Development
Hardware Development
Posts: 32
Joined: Fri 14. Jan 2011, 10:27

Re: circular logging

Post by P.Steil » Wed 17. Jan 2018, 16:36

Hello,

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

Regards
--------------------------------------------
PEAK-System HW development Team
support@peak-system.com
phone: +49-6151-8173-20
fax: +49-6151-8173-29
--------------------------------------------

rwalisko
Posts: 4
Joined: Wed 17. Jan 2018, 13:51

Re: circular logging

Post by rwalisko » Wed 18. Apr 2018, 08:46

I have a question about whether something happened in this topic? This is very important for me.

User avatar
P.Steil
Hardware Development
Hardware Development
Posts: 32
Joined: Fri 14. Jan 2011, 10:27

Re: circular logging

Post by P.Steil » Thu 19. Apr 2018, 10:03

Hello,

sorry, there is still no firmware update on schedule.

Regards
--------------------------------------------
PEAK-System HW development Team
support@peak-system.com
phone: +49-6151-8173-20
fax: +49-6151-8173-29
--------------------------------------------

rwalisko
Posts: 4
Joined: Wed 17. Jan 2018, 13:51

Re: circular logging

Post by rwalisko » Wed 27. Jun 2018, 09:11

Hello. Is this year I can expect a software update that performs circular logging??

Regards

User avatar
PEAK-Support
Sales & Support
Sales & Support
Posts: 1646
Joined: Fri 10. Sep 2010, 19:34

Re: circular logging

Post by PEAK-Support » Wed 27. Jun 2018, 14:03

No, it is not planed to implement this feature within the next release.
--------------------------------
PEAK-System Technik
Technical Support Team
support[at]peak-system.com
-------------------------------

Post Reply