Using Shared Memory with PLCSIM respectively with non-shared-memory-prepared applications

StackOverflow https://stackoverflow.com/questions/19562947

  •  01-07-2022
  •  | 
  •  

Pregunta

I want to use shared memory between two applications. In this case between a c++ main-application and PLCSIM, a virtual programmable logic controller. Anyway I did not know if PLCSIM is prepared for shared memory usage. Is it possible to force PLCSIM to make it memory storage available for other processes like shown in the MSDN-example related to a main-main-interprocess-communication example: http://msdn.microsoft.com/en-us/library/windows/desktop/aa366551(v=vs.85).aspx

¿Fue útil?

Solución

Im not sure what your end goal is but could you look at using NettoPLCSim. It makes use of a "COM-Interface of PLCSim to read/write the data out of it". You could use source code to make an application to store data to where you require to share with your C++ code http://nettoplcsim.sourceforge.net/

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top