Modifying and Transmit CAN Frame

The free CAN Software API (Application Programming Interface) for Windows®
Post Reply
Tejaswi
Posts: 8
Joined: Wed 29. Jan 2025, 11:34

Modifying and Transmit CAN Frame

Post by Tejaswi » Tue 4. Feb 2025, 11:32

I want to send a CAN Frame but i want to induce errors in the CAN Frame by modifying it's bits. How can I do this using CPP.

Example. I want to Change CRC Delimiter and send the CAN Frame.

Please describe the steps I need to follow.

M.Heidemann
Sales & Support
Sales & Support
Posts: 1083
Joined: Fri 20. Sep 2019, 13:31

Re: Modifying and Transmit CAN Frame

Post by M.Heidemann » Tue 4. Feb 2025, 12:12

Hello,

Not possible with PCANBasic, you have to introduce errors physically or consider upgrading to PCAN-Developer.

BR

Marvin
---
Marvin Heidemann
PEAK-Support Team

Tejaswi
Posts: 8
Joined: Wed 29. Jan 2025, 11:34

Re: Modifying and Transmit CAN Frame

Post by Tejaswi » Thu 6. Feb 2025, 06:25

hello,

Is it possible using any other programming languages like c , python ?

Thanks.

M.Heidemann
Sales & Support
Sales & Support
Posts: 1083
Joined: Fri 20. Sep 2019, 13:31

Re: Modifying and Transmit CAN Frame

Post by M.Heidemann » Thu 6. Feb 2025, 08:59

Hello,

Yes. Please check the PCANBasic download folder, you'll find include files for many different languages.

BR

Marvin
---
Marvin Heidemann
PEAK-Support Team

Tejaswi
Posts: 8
Joined: Wed 29. Jan 2025, 11:34

Re: Modifying and Transmit CAN Frame

Post by Tejaswi » Tue 1. Apr 2025, 13:26

We are planning to purchase PCAN developer .Can you confirm if we can send a CAN Frame but i want to induce errors in the CAN Frame by modifying it's bits.

M.Maidhof
Support
Support
Posts: 1748
Joined: Wed 22. Sep 2010, 14:00

Re: Modifying and Transmit CAN Frame

Post by M.Maidhof » Mon 14. Apr 2025, 15:20

Hi,

yes, when using a PCAN FD hardware, you can generate errors on the CAN with the API of the PCAN-Developer 4 package, as you can do with the PCAN-View Error Gernerator Tab.

regards

Michael

Post Reply