I use serial port for communication. When I close the serial port, the chart of the dashboard will continue to draw the waveform for 10s instead of stopping the drawing immediately. What is the reason for the delay?
My node design is shown in Figure 1. The serial port input is connected to a function Fecg_raw(), as shown in the second picture.


