How can i create any errors in a CAN frame with the PCan Basic DLL?

The free CAN Software API (Application Programming Interface) for Windows®
Post Reply
JungThom
Posts: 1
Joined: Wed 26. Aug 2020, 07:06

How can i create any errors in a CAN frame with the PCan Basic DLL?

Post by JungThom » Thu 27. Aug 2020, 07:49

Hi all,

i found in the PCan viewer that it is possible to insert some faults in a can frame with the "Error Generator".
My job is it to create a restbussimulation for our System including roboustnes tests.
I am working on windows 10 with C minGW. The Basic DLL works fine and includes everything i need so far.

So my question is: Is there a possibility to insert some faults on the CAN level with the Basic DLL similar to the "Error Generator" of the PCan viewer?. Currently i didn´t found any API function for that.
Do i need a commercial developer package to do that? if yes, which one?

Thanks for the help
Thomas

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

Re: How can i create any errors in a CAN frame with the PCan Basic DLL?

Post by M.Maidhof » Thu 27. Aug 2020, 10:05

Hello Thomas,

the free available PCANBasic API does not offer the error generating feature. This option will only be available with the canapi4 API of the PCAN-Developer 4 package. More details about the PCAN-Developer 4 software package can be found on our website:

https://www.peak-system.com/PCAN-Developer-4.461.0.html

regards

Michael

Post Reply