Hello,
I have to use some PCAN-Ethernet Gateway DR to get can message under linux. I see there is the software Virtual PCAN-Gateway to access this kind of gateway from windows, but sorry I didn't find how to do the same under linux.
From linux in the past I was able to access PCAN usb device by compiling and using the linux driver and do an insmod.
I was also able to access some PCAN pciexpress card (the card are like a network interface vcan that I was able to use).
But I have not idea how to create and configure a virtual Lan or usb card under linux to access it.
Maybe the information is availaible somewhere, but I didn't find it.
Best Regards and Thank you
PCAN-Ethernet Gateway under linux
Re: PCAN-Ethernet Gateway under linux
Hi,
the Virtual PCAN-Gateway is just available for Windows opertings systems. If you want to operate via Linux with the PCAN-Ethernet-Gateway then it´s recommended to use ports.
Please take a look inside the PCAN-Gateways-Developer-Documentation -> chapter 1.3 Communication between Gateway and PC via Sockets
Link: http://www.peak-system.com/produktcd/Pd ... on_eng.pdf
best regards
Gunther
the Virtual PCAN-Gateway is just available for Windows opertings systems. If you want to operate via Linux with the PCAN-Ethernet-Gateway then it´s recommended to use ports.
Please take a look inside the PCAN-Gateways-Developer-Documentation -> chapter 1.3 Communication between Gateway and PC via Sockets
Link: http://www.peak-system.com/produktcd/Pd ... on_eng.pdf
best regards
Gunther
Re: PCAN-Ethernet Gateway under linux
Hi,
Thank you for your quick reply, so I have to develop my own software to decode the udp message with the help of the sample code provided.
In my application the PCAN-ethernet will be accesed from both linux and windows in the same time, so I imagine I can let the windows doing the hanshake by using PCAN-GATEWAY and in the same time I will read under linux the CAN message using an udp socket.
Best Regards
Thank you for your quick reply, so I have to develop my own software to decode the udp message with the help of the sample code provided.
In my application the PCAN-ethernet will be accesed from both linux and windows in the same time, so I imagine I can let the windows doing the hanshake by using PCAN-GATEWAY and in the same time I will read under linux the CAN message using an udp socket.
Best Regards
Re: PCAN-Ethernet Gateway under linux
Hi,
yes, this is possible.
best regards
Gunther
yes, this is possible.
best regards
Gunther
-
- Posts: 4
- Joined: Tue 14. Nov 2023, 11:59
Re: PCAN-Ethernet Gateway under linux
Hi there,
I understand that the virtual pcan-gateway is, sadly, only available under windows... Though, is there a way to get the same relevant information and then write myself the software to monitor the can trafic ?
Thank yo for your time and consideration
regards,
Olivier
I understand that the virtual pcan-gateway is, sadly, only available under windows... Though, is there a way to get the same relevant information and then write myself the software to monitor the can trafic ?
Thank yo for your time and consideration
regards,
Olivier
-
- Hardware Development
- Posts: 87
- Joined: Fri 10. Sep 2010, 13:11
Re: PCAN-Ethernet Gateway under linux
Hi,
it is possible to request many infomration using the JSON interface (see Developer Documentation chapter 3).
BR,
Stephan
it is possible to request many infomration using the JSON interface (see Developer Documentation chapter 3).
BR,
Stephan