PEAK CAN development when no actual CAN bus is available

The free CAN Software API (Application Programming Interface) for Windows®
Post Reply
Adhara
Posts: 6
Joined: Sat 11. Nov 2017, 10:14

PEAK CAN development when no actual CAN bus is available

Post by Adhara » Wed 12. Apr 2023, 10:30

Hi,

it happens that we need to develop CAN software without having an actual CAN bus available on the dev machine. Or, if we have one, we have no device sending data on it.
We usually develop with PEAK Basic API which allows only one connection per bus, so we cannot have a fake data writer and a reader at the same time

I was wondering if there are well known or suggested way to proceed in these scenarios, from using the Pro development pack to software/hardware solutions.

Thanks a lot, regards
A

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

Re: PEAK CAN development when no actual CAN bus is available

Post by M.Maidhof » Wed 12. Apr 2023, 16:17

Hi,

you could use a second PCAN hardware or use PCAN-View and connect it to the same PCAN network which is already in use with your PCANBasic API application. However, transmitting messages on a CAN bus without a second active node will cause bus errors (acknowledge errors).

regards

Michael

Post Reply