Skip to main content



      Home
Home » Eclipse Projects » 4DIAC - Framework for Distributed Industrial Automation and Control » problems with compiling 4diac forte on raspberry pi 4
problems with compiling 4diac forte on raspberry pi 4 [message #1864852] Mon, 15 April 2024 04:06 Go to next message
Eclipse UserFriend
I am trying to compile 4diac forte on raspberry pi 4 from the develop branch. But when connecting sysfs, an error occurs (compilation error.png).
When running multiple times setup_posix.sh the error disappears, but the QX and IX function blocks are not created(run develop.png). Can you tell me how to fix the error?
Re: problems with compiling 4diac forte on raspberry pi 4 [message #1865025 is a reply to message #1864852] Wed, 24 April 2024 15:00 Go to previous messageGo to next message
Eclipse UserFriend
Sorry for the late reply. When I saw your message I checked and thought it will be a quick fix. Unfortunately during one of the updates the process interface for sysfs was broken. This would need a bit of work for which I haven't found time yet.
Re: problems with compiling 4diac forte on raspberry pi 4 [message #1865193 is a reply to message #1865025] Sat, 27 April 2024 21:16 Go to previous messageGo to next message
Eclipse UserFriend
Alois Zoitl wrote on Wed, 24 April 2024 19:00
Sorry for the late reply. When I saw your message I checked and thought it will be a quick fix. Unfortunately during one of the updates the process interface for sysfs was broken. This would need a bit of work for which I haven't found time yet.

Sir, please fix one of the module, sysfs or i2c as an example and I will try to fix the others. Thank you.
Re: problems with compiling 4diac forte on raspberry pi 4 [message #1865211 is a reply to message #1865193] Sun, 28 April 2024 12:54 Go to previous messageGo to next message
Eclipse UserFriend
Unfortunately the situation is not so easy. Several of these IO systems still implement the old IO interface and should be migrated to the new modular IO system. Examples for these are modbus_ng or wago modular. The new IO subsystem would be much better suited and deliver better performance compared to how it is currently implemented. Therefore I'm not sure if it makes sense to just fix it.
Re: problems with compiling 4diac forte on raspberry pi 4 [message #1865247 is a reply to message #1865211] Mon, 29 April 2024 10:13 Go to previous messageGo to next message
Eclipse UserFriend
Alois Zoitl wrote on Sun, 28 April 2024 16:54
Unfortunately the situation is not so easy. Several of these IO systems still implement the old IO interface and should be migrated to the new modular IO system. Examples for these are modbus_ng or wago modular. The new IO subsystem would be much better suited and deliver better performance compared to how it is currently implemented. Therefore I'm not sure if it makes sense to just fix it.

I completely understand that there may still be many things that need to be improved. Thank you for your response.
Re: problems with compiling 4diac forte on raspberry pi 4 [message #1867107 is a reply to message #1864852] Fri, 14 June 2024 14:10 Go to previous messageGo to next message
Eclipse UserFriend
Hi!

I am interested about using I/Os for raspberry pi as well. Are there any workaround to access its I/Os or use i2C communication?

Are there any documentation available for migrating these modules for the new modular IO System besides the code for wago modular?

Maybe i can contribute as well.

Thanks in advance!
Re: problems with compiling 4diac forte on raspberry pi 4 [message #1867110 is a reply to message #1867107] Fri, 14 June 2024 21:21 Go to previous messageGo to next message
Eclipse UserFriend
I try to get around using the GPIO controlled by 4diac with an additional http-server.
So my Raspberry Pi is getting and sending data to a http-server with the client-FBs and another programm (python, C++, java) can do the executive part.
The logic is running in 4diac and just the GPIO controlling happens over the programm.

Was my idea so far, maybe it helps ...
Dustin
Re: problems with compiling 4diac forte on raspberry pi 4 [message #1867113 is a reply to message #1867110] Sat, 15 June 2024 10:06 Go to previous message
Eclipse UserFriend
Jörg was so kind and upgraded the GPIO module for Linxu and with that also for Raspi, with this PR: https://github.com/eclipse-4diac/4diac-forte/pull/139. Therefore in the latest development version GPIOs should work again.
Previous Topic:Incorrect communication between 4diac IDE and FORTE on Raspberry
Next Topic:pub/sub state machine
Goto Forum:
  


Current Time: Tue Jun 17 00:35:26 EDT 2025

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

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

Back to the top