I've tried debugging now and by the first click the value is correct. However as i clicked it twice the value of the serialReceive string is "\r". When I restarted the C# program and tried my code the out put were the ones of the former run. Can you help me further?