PCANBasic.Initialize and PCANCCP.Initialize at the same time

The free CAN Software API (Application Programming Interface) for Windows®
Post Reply
ibrahim.dogan
Posts: 1
Joined: Tue 28. Apr 2020, 13:20

PCANBasic.Initialize and PCANCCP.Initialize at the same time

Post by ibrahim.dogan » Tue 28. Apr 2020, 14:01

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

M.Heidemann
Sales & Support
Sales & Support
Posts: 416
Joined: Fri 20. Sep 2019, 13:31

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

Post by M.Heidemann » Tue 28. Apr 2020, 14:17

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 1003 times
You cannot use 2 PCANBasic instances on one hardware-channel, that why this behaviour manifests.


Best Regards

Marvin

Post Reply