Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    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 04:18 Go to next message
Dustin Schmitt is currently offline Dustin SchmittFriend
Messages: 15
Registered: April 2024
Junior Member
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 14:05 Go to previous messageGo to next message
Alois Zoitl is currently offline Alois ZoitlFriend
Messages: 1639
Registered: January 2014
Senior Member

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 22:20 Go to previous message
Dustin Schmitt is currently offline Dustin SchmittFriend
Messages: 15
Registered: April 2024
Junior Member
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: Sun Jan 19 14:38:30 GMT 2025

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

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

Back to the top