Skip to main content



      Home
Home » Eclipse Projects » 4DIAC - Framework for Distributed Industrial Automation and Control » Incorrect communication between 4diac IDE and FORTE on Raspberry(Incorrect communication between 4diac IDE and FORTE on Raspberry)
Incorrect communication between 4diac IDE and FORTE on Raspberry [message #1867008] Wed, 12 June 2024 00:18 Go to next message
Eclipse UserFriend
Hi,
after building successfully the http client-FBs i would like to run my programm completely or partwise on my raspberry pi. But even the communication with my raspberry pi with the developer version of Forte isn't possible. Always the following error appears:

ERROR T#1718152924431828312: CBSDSocketInterface::receiveDataFromTCP recv() Unexpected: nRetVal: 0, ERR: 0 Success

I found this error before in one of the screenshots by Konstantin in this topic:
https://www.eclipse.org/forums/index.php/t/1114677/

Is there a method to avoid the error or avoid it.

I already tried an older forte version on my pi and the develop forte version on my windows and a publish/subscibe-request but the data isn't transferred.

Thanks
Dustin
Re: Incorrect communication between 4diac IDE and FORTE on Raspberry [message #1867032 is a reply to message #1867008] Wed, 12 June 2024 10:05 Go to previous messageGo to next message
Eclipse UserFriend
The recv message should be fine it should only indicate that the client closed the connection.

In the publish/subscribe setup 4diac FORTE per default is using UDP multicast messages with a time to live of 1.

Problems like the one reported by you can have several reasons and are mostly because of the network setup.

First of all you need to ensure that multicast routing is configured. You can find tips for it in several places in the the documentation. E.g. in the trafic light example and in the FAQs.

As the TTL is set to 1 both your PC and your raspi need to be in the same subnet.

I hope this gives you enough tips to get that fixed.
Re: Incorrect communication between 4diac IDE and FORTE on Raspberry [message #1867047 is a reply to message #1867032] Wed, 12 June 2024 18:20 Go to previous message
Eclipse UserFriend
Okay I didn't tried again the publish/subscribe-setup with diffrent forte versions, but you were right the error message isn't a problem. My system is running with a develop version of FORTE on both devices.

Thanks for the fast reply
Dustin
Previous Topic:Client with http-server
Next Topic:problems with compiling 4diac forte on raspberry pi 4
Goto Forum:
  


Current Time: Tue Jun 24 13:26:21 EDT 2025

Powered by FUDForum. Page generated in 0.03815 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top