Hi,
I have used a simple C# library that allows for easy communication with a PCAN-Ethernet Gateway DR over IP networks from github (hxxx://github.com/Mmagnuson/CAN_Ethernet_Gateway) and the data does not come to the device. I have attached the configuration from PCAN-Ethernet Gateway DR and Virtual PCAN Gateway. Am I missing anything here? Please help!
Thank you very much.
(link changed from ADMIN)
Data transmission NOT to PCAN-Ethernet Gateway DR
Data transmission NOT to PCAN-Ethernet Gateway DR
- Attachments
-
RoutesConfiguration.vpoi.txt
- (2.14 KiB) Downloaded 2509 times
-
poi_config.ini
- (3.73 KiB) Downloaded 2455 times
- PEAK-Support
- Sales & Support
- Posts: 1646
- Joined: Fri 10. Sep 2010, 19:34
Re: Data transmission NOT to PCAN-Ethernet Gateway DR
Sorry - but this is no Forum question. No one could solve your implementation problem.
1. we do not now the GitHub code - so how should we support it ?!? Contact the maintainer (we also will remove the link - please read the forum RULES)
2. We also do not know how your network (CAN and ETH) is setup.
1. we do not now the GitHub code - so how should we support it ?!? Contact the maintainer (we also will remove the link - please read the forum RULES)
2. We also do not know how your network (CAN and ETH) is setup.
--------------------------------
PEAK-System Technik
Technical Support Team
support[at]peak-system.com
-------------------------------
PEAK-System Technik
Technical Support Team
support[at]peak-system.com
-------------------------------
Re: Data transmission NOT to PCAN-Ethernet Gateway DR
Hi,
My apology if I may have not explained clearly. I do not know looking for the code questions but I'm asking to see if my setting is correct. The IP address of PCAN-Ethernet Gateway DR is 1962.168.1.10:35000 and the IP address of the PC where the application resides is 192.168.1.100 :25000. The C# application is able to send the data to 192.168.1.10. How do I find out if the data is received by PCAN-Ethernet Gateway DR.
Thank you very much.
My apology if I may have not explained clearly. I do not know looking for the code questions but I'm asking to see if my setting is correct. The IP address of PCAN-Ethernet Gateway DR is 1962.168.1.10:35000 and the IP address of the PC where the application resides is 192.168.1.100 :25000. The C# application is able to send the data to 192.168.1.10. How do I find out if the data is received by PCAN-Ethernet Gateway DR.
Thank you very much.
Re: Data transmission NOT to PCAN-Ethernet Gateway DR
Hi,
the PCAN-Ethernet Gateways config looks valid. But note the gateways receive port is 25000 and the PCs (IP = 192.168.1.100) receive port is 35000. Please check this inside your application.
The Virtual Gateway config is senseless because you have disabled the modules handshake mechanism and therefore the Virtual gateway service is not used (and also not necessary if you work with socket based applications)
the PCAN-Ethernet Gateways config looks valid. But note the gateways receive port is 25000 and the PCs (IP = 192.168.1.100) receive port is 35000. Please check this inside your application.
The Virtual Gateway config is senseless because you have disabled the modules handshake mechanism and therefore the Virtual gateway service is not used (and also not necessary if you work with socket based applications)
Re: Data transmission NOT to PCAN-Ethernet Gateway DR
Hi,
Thank you for pointing out the port numbers. I have attached the snapshot where the highlight indicated CAN packet is 1. Does it mean that the application has successfully sent to the PCAN-Ethernet Gateway.
Thank you for pointing out the port numbers. I have attached the snapshot where the highlight indicated CAN packet is 1. Does it mean that the application has successfully sent to the PCAN-Ethernet Gateway.
- Attachments
-
- PEAK_PCAN-EthernetGateDR.PNG (29.16 KiB) Viewed 10220 times
- PEAK-Support
- Sales & Support
- Posts: 1646
- Joined: Fri 10. Sep 2010, 19:34
Re: Data transmission NOT to PCAN-Ethernet Gateway DR
Info what the values mean are part of the online help and the manual.
But it is a clear information - 1 Package was received as IP/UDP, including 1 CAN Data Package.
When you try to develop your own application (OK - you use a already developed open source code ), using IP Sockets,
why not use WireShark and other common development tools?
You also need to understand what the code is doing - simply copy / paste and hope all runs, in the wrong way.
But it is a clear information - 1 Package was received as IP/UDP, including 1 CAN Data Package.
When you try to develop your own application (OK - you use a already developed open source code ), using IP Sockets,
why not use WireShark and other common development tools?
You also need to understand what the code is doing - simply copy / paste and hope all runs, in the wrong way.
--------------------------------
PEAK-System Technik
Technical Support Team
support[at]peak-system.com
-------------------------------
PEAK-System Technik
Technical Support Team
support[at]peak-system.com
-------------------------------