Welcome to the forum ![]()
Unfortunately I cannot run your code as I don’t have a serial device to try it out. You might try the append text method as this should add text and then scroll to the end.
A word of caution, the text area control was designed to accept keyboard input and allow the user to edit the text. It was not designed to be a “console” display and very large amounts of text will seriously affect it’s performance.