I do have the following scenario: I do have a shell and two modules(moduleA.dll,moduleB.dll included via bootstrapper), this I created using PRISM4.
ModuleA reads a database and from that information it should open a serial port. This module offers also to send commands via the serial connection.
ModuleB can also send data to the same serial connection, the moduleA already openend. Furthermore moduleB should contain a plot which plots data coming from the serial port.
E.g.: ModuleA sends "Setting1,Setting2" ModuleB sends "Start" -->ModuleB receives data (-->Plot data) ModuleB sends "Stop"
So for my understanding they should somehow share the this serial port instance. Any ideas how to setup this scenario?
Thanks in advance.