Terminal over loaded ?(Solved)
msiriwardena
Posts: 301
I have a very simple program and it has only one Terminal block " Terminal print number
(Direction- variable)mas Decimal then a new line"
The program initially prints the number but after few times the error message appears
"Your program is sending too much Data at once. Try adding pauses or sending less Data."
Screen shot of the program is attached.
Any help is appreciated
Thank you,
Siri
(Direction- variable)mas Decimal then a new line"
The program initially prints the number but after few times the error message appears
"Your program is sending too much Data at once. Try adding pauses or sending less Data."
Screen shot of the program is attached.
Any help is appreciated
Thank you,
Siri
Comments
Your code to display on the terminal is in an infinite do loop with no exit.
That loop outputs data then a 50ms delay and then clear screen.
Yo cannot continually output to a terminal program without reasonable delays for the terminal program tokeep up. You need a much bigger delay so try 1 second (= 1000ms).
Next, you don’t want to clear the screen after you output do you? If the delay is too short you will never see the data because it will get cleared.
Ken Gracey
Eliminate the Terminal Clear Screen block since it wipes the display clear, in such a tight loop, that you won't see any data. And put a small pause in there - maybe 100 ms.
Also, I notice that you are using XBee modules to send and receive data. This becomes a lot of fun!
Ken Gracey
Ken Gracey
Ken Gracey
Thanks the help
Siri