davewill said:NotSoTragicHero said:*snip*ok. so your getting problems on the ReadLine. That means the event is firing. The code needs a little work on the actual using of the received data. The port is setup to trigger the event when each byte enters the receive buffer (ReceivedBytesThreshold=1) ... yet your DataReceived event is trying to read a line at a time rather than doing something like
displayString &= port.ReadByte();
Actually, the event isn't being fired still. Since it isn't fired, I'm trying to catch the data in the anonymous thread declared in the constructor for now, which is why I know the exception fires on the ReadLine. Trying ReadByte and ReadLine both cause a TimeoutException.