Peter Hansen was asking you for the code AFTER the "ser.readline()" not BEFORE!! the code you have originally posted here OK IS MY MISTAKE; EXCUSE. I have read the example but if i ask is bucause i don't or maybe i don't understand the example Regaards Luca