2 application instances connecting to same channel

The free CAN Software API (Application Programming Interface) for Windows®
Post Reply
pauloquicoli
Posts: 2
Joined: Fri 14. Dec 2018, 13:08

2 application instances connecting to same channel

Post by pauloquicoli » Thu 20. Dec 2018, 12:34

Hello,

I have an app connecting to PCAN_USBBUS1 and I can read messages normally.

Let's say I have one instance running and reading messages, if I open another instance of my app I can't connect this to that PCAN_USBBUS1...

So looks like I can't have 2 applications using PCAN-Basic connected to the same PCAN_USBBUS1.
But PCAN-View can connect to PCAN_USBBUS1 even if I'm already connected in my app.

Is there a way to have to apps connected to PCAN_USBBUS1 using PCAN-Basic?

Regards

Paulo

K.Wagner
Software Development
Software Development
Posts: 1082
Joined: Wed 22. Sep 2010, 13:36

Re: 2 application instances connecting to same channel

Post by K.Wagner » Thu 20. Dec 2018, 13:43

Hello,
pauloquicoli wrote:Is there a way to have to apps connected to PCAN_USBBUS1 using PCAN-Basic?
No, this is not possible. This is one of the restriction when using PCAN-Basic. If you want to connect the same device from different applications at the same time you will need to use the PCAN-Developer package.
pauloquicoli wrote:But PCAN-View can connect to PCAN_USBBUS1 even if I'm already connected in my app.
This is a feature of the system. You can use one PCAN-Basic application and several PCAN-Views or PCAN-developer applications.

Here again the features of PCAN-Basic:
Features of PCAN-Basic
Features of PCAN-Basic
Features.PNG (50.15 KiB) Viewed 2436 times
Best regards,
Keneth

Post Reply