Send commands from one source to another via MegunoLink
Posted: Mon Jun 30, 2025 7:11 pm
Hello,
I have two Arduino boards connected to a single Meguno instance via serial ports. While I can use the Merged Source feature to combine the data from both sources into a single plot or interface, i am having difficulty figuring out how to send commands to one source based on incoming serial data form another source.
I tried to create an Interface panel configured for the Arduino1 source only, with a Message Processor and a Message library. Then from Arduino 1 I can send a serial command that is interpreted and processed by the message processor and sent back to the original Arduino serial connection. However, when I change the source to a Merged Source with data form both Arduinos, the processor fails to process a return command. I would expect the same command is issued on both outbound serial connections but nothing happens.
Essentially, I would like to send some data from one serial device (like Temperature) and then have a second serial device act on it (like turn on a relay). If there is a better way to do this in Meguno I would be very interested.
I have two Arduino boards connected to a single Meguno instance via serial ports. While I can use the Merged Source feature to combine the data from both sources into a single plot or interface, i am having difficulty figuring out how to send commands to one source based on incoming serial data form another source.
I tried to create an Interface panel configured for the Arduino1 source only, with a Message Processor and a Message library. Then from Arduino 1 I can send a serial command that is interpreted and processed by the message processor and sent back to the original Arduino serial connection. However, when I change the source to a Merged Source with data form both Arduinos, the processor fails to process a return command. I would expect the same command is issued on both outbound serial connections but nothing happens.
Essentially, I would like to send some data from one serial device (like Temperature) and then have a second serial device act on it (like turn on a relay). If there is a better way to do this in Meguno I would be very interested.