Easiest Way To Send and Record TRC Files Under Linux?

This forum covers PCAN-Linux and Linux development issues concerning our products
Post Reply
WilkinsMicawber
Posts: 4
Joined: Fri 14. Sep 2018, 17:52

Easiest Way To Send and Record TRC Files Under Linux?

Post by WilkinsMicawber » Fri 14. Sep 2018, 18:03

I'm looking to play prerecorded PCAN TRC files back to a CAN device under Linux. I would also like to be able to record CAN messages in the TRC format. Is there an API or other similar thing that could help me do this?

K.Wagner
Software Development
Software Development
Posts: 1082
Joined: Wed 22. Sep 2010, 13:36

Re: Easiest Way To Send and Record TRC Files Under Linux?

Post by K.Wagner » Mon 17. Sep 2018, 08:45

Warning: Please don't post the same question/issue several times in different topics. This will definitely don't accelare the support process and may be recognized as spam and be deleted, as well as the user account.

Hello,

Recording: The PCAN-Basic API (both, Windows and Linux versions) allows you to automatically record CAN communication in PEAK Trace format (*.trc). The generated file is then compatible with all PEAK software supporting tracing, like PCAN-Explorer, PCAN-View, PCAN-Trace, etc. This functionality is activated over parameter through the function CAN_SetValue. Check the PCAN-Basic documentation for "Types/TPCANParameter/PCAN_TRACE_*" parameters.

Playback: Parsing and sending Trace files can be achieved in Windows, using PCAN-Explorer 6 and PCAN-Trace. There is no API that allows you to do this.
Best regards,
Keneth

Post Reply