Page 1 of 1

PEAK CAN development when no actual CAN bus is available

Posted: Wed 12. Apr 2023, 10:30
by Adhara
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

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

Posted: Wed 12. Apr 2023, 16:17
by M.Maidhof
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