Page 1 of 1

bus load

Posted: Tue 1. Apr 2025, 11:58
by Tejaswi
Hello,
can we find bus load through basic Api?

Re: bus load

Posted: Tue 1. Apr 2025, 15:27
by M.Maidhof
Hello,

no, this feature is only available with the API of the PCAN-Developer API when using a CAN FD hardware.

regards

Michael

Re: bus load

Posted: Wed 2. Apr 2025, 07:32
by Tejaswi
Hello,
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.
Thank you

Re: bus load

Posted: Wed 2. Apr 2025, 09:11
by M.Maidhof
Hello,

yes, when using a PCAN FD hardware, it is possible to generate error frames using the PCAN-Developer API, as it is possible with PCAN-View Error Generator tab with those CAN FD hardware devices.

regards

Michael

Re: bus load

Posted: Thu 3. Apr 2025, 07:44
by Tejaswi
I want more information as to how I can generate the error frame.

1. When specifying the bit position, do i count the stuff bits ?
2. How do I know where the stuff bit lies. It is important me to as i want to error different types of error as Acknowledgment error, Bit Stuff error, Form Error, CRC Error, etc. In order to generate a specific error I want to add bits to specific position. So how do I count the bits, with stuffing or without stuffing?

Do you have detailed manual on how to use this function because we couldn't find it anywhere. It's written in very short everywhere.

Re: bus load

Posted: Thu 3. Apr 2025, 07:57
by Tejaswi
Also, In the error generator tab. Can you refer to the screenshot and let me know what does it mean exactly ?

Can i set bit position less than 15 or not for std can frames or is it just a recommendation ?

Re: bus load

Posted: Thu 3. Apr 2025, 14:33
by M.Maidhof
Hi,

you must excatly know how the frames looks like, also with all stuff bits. You can download the PCAN-FD frame Analyzer tool from our website, to see how a specific frame looks like on the physical CAN.

https://www.peak-system.com/fileadmin/m ... alyzer.zip

Please see also help of PCAN-View about Error Generator Tab.

Destroying a frame below 15 for std ID and below 39 for ext ID will destroy the ID field, so the ID could not be used as a refence anymore for the "Number to Frames to ignore".

Please note that you need good knowledge of CAN if you want to destroy the exact CAN field of a given message!

regards

Michael