<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to how to import C libraries</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/174211fc2d/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Runtime/thread/174211fc2d/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Runtime/thread/174211fc2d/</id><updated>2020-02-27T16:18:09.373000Z</updated><subtitle>Recent posts to how to import C libraries</subtitle><entry><title>how to import C libraries</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/174211fc2d/?limit=25#2b99" rel="alternate"/><published>2020-02-27T16:18:09.373000Z</published><updated>2020-02-27T16:18:09.373000Z</updated><author><name>eschwellinger</name><uri>https://forge.codesys.com/u/eschwellinger/</uri></author><id>https://forge.codesys.com76dd90c6fbdcf7f8b21a9471daa0f2136d520496</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi,&lt;br/&gt;
shared mem is always an Option there is an example in the CODESYS store available...!&lt;/p&gt;
&lt;p&gt;BR&lt;br/&gt;
Edwin&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>how to import C libraries</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/174211fc2d/?limit=25#bca4" rel="alternate"/><published>2020-02-27T16:18:06.898000Z</published><updated>2020-02-27T16:18:06.898000Z</updated><author><name>ffrige</name><uri>https://forge.codesys.com/u/ffrige/</uri></author><id>https://forge.codesys.comffdc869738822a3a1b32cae36bcddce68f79a11d</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hello Edwin,&lt;/p&gt;
&lt;p&gt;ok, thanks, I understand.&lt;br/&gt;
I guess a workaround would be to run the C code in a separate application on the Pi and then use some sort of communication to share the necessary variables values with the Codesys application? What would you suggest for high speed (near real-time) communication?&lt;/p&gt;
&lt;p&gt;Thanks!&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>how to import C libraries</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/174211fc2d/?limit=25#8c33" rel="alternate"/><published>2020-02-27T16:18:06.067000Z</published><updated>2020-02-27T16:18:06.067000Z</updated><author><name>eschwellinger</name><uri>https://forge.codesys.com/u/eschwellinger/</uri></author><id>https://forge.codesys.coma39a38add51789e0b528d3ff07c30532fb712f7e</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi,&lt;br/&gt;
this is not possible with Raspberry Pi,&lt;br/&gt;
only plc manufacturer could implement runtime components which then are in 'c' implemented.&lt;/p&gt;
&lt;p&gt;BR&lt;br/&gt;
Edwin&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>how to import C libraries</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/174211fc2d/?limit=25#aa95" rel="alternate"/><published>2020-02-27T16:18:03.751000Z</published><updated>2020-02-27T16:18:03.751000Z</updated><author><name>ffrige</name><uri>https://forge.codesys.com/u/ffrige/</uri></author><id>https://forge.codesys.com2eb8ac62cfca516cd0d70b1cdf65d257e074f019</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hello!&lt;br/&gt;
I just started using Codesys with my RPi3 and find it awesome. However, I need to reuse an old library written in C and I cannot find the right way to import it in my project.&lt;br/&gt;
I have the source code of the library, so should I use Codesys to compile it? Or should the library be compiled elsewhere (e.g. Eclipse) and only then imported in the Codesys application?&lt;br/&gt;
Are there examples, templates, tutorials to show the procedure? The online help does not help much at all...&lt;br/&gt;
Thanks!&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>