Page 1 of 1

PCANBasic.Initialize and PCANCCP.Initialize at the same time

Posted: Tue 28. Apr 2020, 14:01
by ibrahim.dogan
Hello,

We cannot do PCANBasic.Initialize and PCANCCP.Initialize at the same time.
We want to read the value from memory with CCP, while monitoring CAN messages. But PCANCCP need to uninitialize when we initialize PCANBasic or PCANBasic need to uninitialize when we initialize PCANCCP. Otherwise we cannot initialize the second one.

Working in C#, VS2015

Best Regards,
Ibrahim

Re: PCANBasic.Initialize and PCANCCP.Initialize at the same time

Posted: Tue 28. Apr 2020, 14:17
by M.Heidemann
Dear Ibrahim,

Thank your for your request.

PCAN-CCP API uses PCANBasic as a transport layer API and has the same restrictions due to this implementation.
Caution.PNG
Caution.PNG (39.49 KiB) Viewed 1053 times
You cannot use 2 PCANBasic instances on one hardware-channel, that why this behaviour manifests.


Best Regards

Marvin