--
http://nodered.org
---
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.
For more options, visit https://groups.google.com/d/optout.
In your function you would set the output msg to be null for first value if you didn't want to write the output to a file. When you need to write you have the first value as the msg and the second as null. This way you could direct the flow around a file node if needed.
Not got access to NR at present so can't verify exact details.
Regards
Andrew
--
http://nodered.org
---
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.
For more options, visit https://groups.google.com/d/optout.