The exec node is just receiving the output over the stdout stream - it has no control over what is being sent.
Any flushing has to be done by the side that is writing to the stream - your C++ code.
The exec node is just receiving the output over the stdout stream - it has no control over what is being sent.
Any flushing has to be done by the side that is writing to the stream - your C++ code.
OMG @knolleary it works !!!!!
I have just added the below code in my C++ :
fflush(stdout)
And now, As expected, every 1 sec, Node-RED is getting the payload !!
Thank you SOOOO MUCH !!!!
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.