I open 2 serial port monitors which can send and receive data.
Also I have 2 virtual com ports, com3 and com4.
When I press for example "test" on the one and send it, the other receives it.
If I try to send an other text for example test2 then the other one receives it on a new line.
Example:
test
test2
I wrote a small vb.net program to send and receive data.
My vb.net program on com3 and the other monitor program on com4. I have a button and inside the button the code:
SerialPort1.Write("test")
If I press the button 1 time the other program shows: test If I press it again the other program shows: testtest
So why with my program the other monitor just merges the text and doesn't add a new line?
I tried
SerialPort1.WriteLine("test")
But that will only print if i press the button twice: testtest
I even tried + Chr(13) but that will only print <cr>
on the other monitor and not a new line..
what is all the others programs doing that my little program is not doing?