I am currently trying to find a good solution for the communication between CODESYS Control on Raspberry Pi and "the rest of the world", i. e. the things apart from CODESYS on my linux.
My first approach was to use the c-integration. So I created a lib, defined extern fbs, compiled the code on my Pi using the SDK and put the .so into my lib project. When I try to log into the Pi and load the program, I get the error message which you can see in the attached picture.
"Die dynamischen Module der C-Integration konnten nicht auf das Laufzeitsystem geladen werden" is german and means roughly "the modules from the c-integration could not be loaded onto the runtime system."
Is this normal? Am I doing something wrong?
I will have a look at the unix domain socket thing next, as I am still in the process of finding the best solution for the communication.
Do you maybe know why the C-integration doesn't work? I'm just curious because it was still some effort to create all these files. Ending up with a meaningless error feels very unsatisfying to me...
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hey there,
I am currently trying to find a good solution for the communication between CODESYS Control on Raspberry Pi and "the rest of the world", i. e. the things apart from CODESYS on my linux.
My first approach was to use the c-integration. So I created a lib, defined extern fbs, compiled the code on my Pi using the SDK and put the .so into my lib project. When I try to log into the Pi and load the program, I get the error message which you can see in the attached picture.
"Die dynamischen Module der C-Integration konnten nicht auf das Laufzeitsystem geladen werden" is german and means roughly "the modules from the c-integration could not be loaded onto the runtime system."
Is this normal? Am I doing something wrong?
I will have a look at the unix domain socket thing next, as I am still in the process of finding the best solution for the communication.
Maybe shared memory is an opinion for you to give it a try:
https://content.helpme-codesys.com/en/CODESYS%20Examples/_ex_cds_shared_memory_communication.html
I'll have a look at this, thanks.
Do you maybe know why the C-integration doesn't work? I'm just curious because it was still some effort to create all these files. Ending up with a meaningless error feels very unsatisfying to me...