<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to Shared Memory Communication</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/b52624edb9/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Runtime/thread/b52624edb9/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Runtime/thread/b52624edb9/</id><updated>2020-12-21T16:24:07.597000Z</updated><subtitle>Recent posts to Shared Memory Communication</subtitle><entry><title>Shared Memory Communication</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/b52624edb9/?limit=25#7b0b" rel="alternate"/><published>2020-12-21T16:24:07.597000Z</published><updated>2020-12-21T16:24:07.597000Z</updated><author><name>elsabz</name><uri>https://forge.codesys.com/u/elsabz/</uri></author><id>https://forge.codesys.com6ef391a9e1c0fd5cbbed87b5412cdf08cbcae505</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Well, good to know, thanks!&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Shared Memory Communication</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/b52624edb9/?limit=25#b35f" rel="alternate"/><published>2020-12-21T14:01:40.702000Z</published><updated>2020-12-21T14:01:40.702000Z</updated><author><name>promaco</name><uri>https://forge.codesys.com/u/promaco/</uri></author><id>https://forge.codesys.com6c5984899b2bedd92aeea70f6353db8276874a91</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;I've to added in the programm myshm.c the line:&lt;/p&gt;
&lt;h1 id="include"&gt;include &amp;lt;unistd.h&amp;gt;&amp;lt;/unistd.h&amp;gt;&lt;/h1&gt;
&lt;p&gt;for compilation and running without errors on a Raspberri Pi 3&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Shared Memory Communication</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/b52624edb9/?limit=25#da24" rel="alternate"/><published>2020-06-22T16:54:49.557000Z</published><updated>2020-06-22T16:54:49.557000Z</updated><author><name>elsabz</name><uri>https://forge.codesys.com/u/elsabz/</uri></author><id>https://forge.codesys.com307992a14c46eaa20baeaf061a746fb99530d182</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;SOLUTION FOUND !!! When executing the "./myshm" executable file, "sudo" must be prefixed for permission. Running the command "sudo ./myshm" always works well. I hope it can also be useful to someone else ...&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Shared Memory Communication</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/b52624edb9/?limit=25#b5d6" rel="alternate"/><published>2020-06-22T08:50:18.093000Z</published><updated>2020-06-22T08:50:18.093000Z</updated><author><name>elsabz</name><uri>https://forge.codesys.com/u/elsabz/</uri></author><id>https://forge.codesys.com6e7935a269f753f2f6d92d2495f5300adcc61b4b</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Good morning codesys world, I tried to install the "Shared Memory Communication" example under Raspberry PI 4. There is a problem in the execution of the myshm.c file. The file was regularly compiled with the "gcc myshm.c -o myshm -lrt" linux command. When I run the generated executable, I immediately receive a "Segmentation fault" error (see attached screenshoot). The file is the original downloaded from the codesys-store, how come it doesn't work? Can anyone help me?&lt;/p&gt;
&lt;p&gt;S.G.&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>