Page 1 of 1

Virtual feasibility

Posted: Mon 26. Aug 2024, 22:36
by firstTracks
I use two third-party (win X86) applications that communicate via physical CAN. This requires two PCAN USB adapters connected to the same PC with a short CAN cable in a loopback fashion. I want to replace the CAN hardware with virtual equivalents.

Today:
ProcessA.exe<--->PCANUSB 0x51<--->CAN CABLE<--->PCANUSB 0x52<--->ProcessB.exe

Is it possible to write a new intermediary application to spawn 2 virtual PCAN-USB devices for the original applications to communicate through or would each application have to be rewritten and recompiled to support virtual adapters using the Developer API?

Ideally, if an intermediary gateway application could be written, I could then spool up several virtual nets and allow multiple pairs of these third party processes to communicate.

Future fantasy:
ProcessA.exe_instance1<--->Virtual Net_1<--->ProcessB.exe_instance1
ProcessA.exe_instance2...

Re: Virtual feasibility

Posted: Tue 27. Aug 2024, 09:14
by PEAK-Support
please contact us by e-mail support[at]peak-system.com - we do not discuss PCAN-Developer internals in public.