Same Serial Port Connected in Two Flow files Not working while disabling one of the flow
Hi Team
I am trying to add COM2 in two flow files Flow1 and Flow2. The data is displayed in both flows initially . But when we disable and enable Flow1 then the Flow2 serial port is not displaying the data though it displays connected .
FLOW1

FLOW2

Initial Debug Message

Disable and enable FLOW2 from postman

Debug Message after disable and enable

As u noticed the Flow1 Data is not displaying in the Debug Window though both flows are connected
Node-RED version: v1.2.6 Node.js version: v15.5.0 npm version: 7.3.0 Platform/OS: Windows 10 Browser: Chrome
You should think about serial port nodes as if they are real serial ports - you can't plug two cables into one socket. While in theory what you have may work indeed if you disable one, then the behaviour of the other may well be affected. It would be cleaner to have one single com2 node and then use link nodes to fork the messages to another tab in Node-RED.
I must admit I thought this came up fairly recently and at the time I tested it with Nodejs14 and latest Node-RED 1.3.5 it did work correctly but I can't find that issue or forum post right now.