--
http://nodered.org
Join us on Slack to continue the conversation: http://nodered.org/slack
---
You received this message because you are subscribed to the Google Groups "Node-RED" group.
To unsubscribe from this group and stop receiving emails from it, send an email to node-red+unsubscribe@googlegroups.com.
To post to this group, send email to node...@googlegroups.com.
Visit this group at https://groups.google.com/group/node-red.
For more options, visit https://groups.google.com/d/optout.
To unsubscribe from this group and stop receiving emails from it, send an email to node-red+u...@googlegroups.com.
There is no "correct" order for a branched flow to execute. This might be a bit of a cerebral-retread for a PLC developer but that's a Principle of flow based programming
Reso Tek Inc has a good idea, but how about this...Just change the debug mode to have an input AND an output. The node would just pass whatever shows up at its input along to its output while dumping the msg object to the debug window. Then, the programmer could just drop it in a serial flow and know that the debug trace will be in proper order. By the way, us PLC programmers have a language we call CFC that looks a lot like NodeRED, but we have the ability to specify the execution order. This helps us to close the barn door BEFORE the horse gets out.
--
http://nodered.org
Join us on Slack to continue the conversation: http://nodered.org/slack
---
You received this message because you are subscribed to the Google Groups "Node-RED" group.
To unsubscribe from this group and stop receiving emails from it, send an email to node-red+unsubscribe@googlegroups.com.
To post to this group, send an email to node...@googlegroups.com.
Visit this group at https://groups.google.com/group/node-red.
To view this discussion on the web, visit https://groups.google.com/d/msgid/node-red/a76f7693-6ca1-4366-92fb-fa8cae062e0a%40googlegroups.com.
return msg;node.warn("payload = " + msg.payload);I think the idea of making the debug node 'pass through' is an excellent idea, if it is not technically difficult to achieve.If necessary I think one can easily achieve something similar, however, by using a function node containing something like:Not as convenient or flexible as the debug node but probably adequate when one is trying to solve those occasional problems where the order of the debug o/p is an issue.
Colin
On 22 February 2017 at 02:15, Rial Williams <rial.w...@gmail.com> wrote:
Reso Tek Inc has a good idea, but how about this...Just change the debug mode to have an input AND an output. The node would just pass whatever shows up at its input along to its output while dumping the msg object to the debug window. Then, the programmer could just drop it in a serial flow and know that the debug trace will be in proper order. By the way, us PLC programmers have a language we call CFC that looks a lot like NodeRED, but we have the ability to specify the execution order. This helps us to close the barn door BEFORE the horse gets out.
--
http://nodered.org
Join us on Slack to continue the conversation: http://nodered.org/slack
---
You received this message because you are subscribed to the Google Groups "Node-RED" group.
To unsubscribe from this group and stop receiving emails from it, send an email to node-red+u...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to node-red+unsubscribe@googlegroups.com.
To post to this group, send email to node...@googlegroups.com.
Visit this group at https://groups.google.com/group/node-red.
To view this discussion on the web, visit https://groups.google.com/d/msgid/node-red/1d375769-eeb6-4e30-aa0b-e4a2bb7ee80e%40googlegroups.com.
To turn it off temporarily stick a # on the front of node.warn and redeploy (just that node).