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 ?
Show real time data in an output panel
nutjob2
#2
Yes, but you have to be sure to flush the output buffer because the panel is not a terminal device.
0 Likes
FichteFoll
#3
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.
0 Likes
nutjob2
#4
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.
0 Likes