<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to Exchanging data between codesya and non-codesys applications</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/4a07174ef0/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Engineering/thread/4a07174ef0/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Engineering/thread/4a07174ef0/</id><updated>2020-02-27T13:57:27.676000Z</updated><subtitle>Recent posts to Exchanging data between codesya and non-codesys applications</subtitle><entry><title>Exchanging data between codesya and non-codesys applications</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/4a07174ef0/?limit=25#ae8a" rel="alternate"/><published>2020-02-27T13:57:27.676000Z</published><updated>2020-02-27T13:57:27.676000Z</updated><author><name>praveena</name><uri>https://forge.codesys.com/u/praveena/</uri></author><id>https://forge.codesys.comd5ba0bfa60bc08ef0504c65959f7c2038eee1891</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Dear Sir,&lt;br/&gt;
          We are trying to communicate with two applications in Power pc based target running QNX OS.One  is a IEC application running on codesys runtime.the other application  is written in C language and running external to Codesys  runtime.To exchange data between these two,we haev implemented shared memory concept. The shared memory is created on the Power PC target by the C program and  data is written on the shared memory . The codesys application reads  data  from the shared memory.&lt;br/&gt;
Now we have to provide some method to lock/unlock the shared memory inorder to avoid simultaneous access  by C program and Codesys runtime application.&lt;br/&gt;
The  Codesys runtime Manual (documentation)  memtions of a libray by name CmpBlkDrvShm which help us acheive this.It also mentions  a  symbol table by name "g_PlcObjTab" , which can be used to  provide synchronization.&lt;br/&gt;
The library "CmpBlkDrvShm"  is unavailable on our  Codesys development System.&lt;br/&gt;
How can we obtain  the  library ? Can you share some examples to use to use the library  functions. &lt;/p&gt;
&lt;p&gt;with regards,&lt;br/&gt;
Mrs.Praveena&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>