Is it possible for an output panel to show data from a streaming service in real time ? For example let’s say I’m receiving sensor data from my machine’s COM port. Is it possible for a output panel to display them as & when the data is read from the port without refreshing the panel ?
Yes, but you have to be sure to flush the output buffer because the panel is not a terminal device.
I think the output panel from the
exec command has internal buffering to slow down excessive redraws because of updates, but when you fill an output panel yourself, I believe you can update it as often as you want and it is flushed and rendered immediately or ASAP.
Good to know, I assumed that it would be happening in the build panel as the output of a program executing, where the issue does arise.