Hi @anwar05. You haven’t said where the error is. Almost certainly it’s where you are processing the received text. Print out what you receive before you do the ‘split’, and print data.length. Then you’ll see that sometimes(?) the data is not what you expect. (Why not?) Where you are reading float(data[<>]) you could protect that with 'if (data.length >= 7). In general two approaches, fix the data so it is what you expect, make the code tolerate wrong data.