P
Padu
I create a System.IO.Ports.SerialPort object and start communicating with a
device (a pocket pc in my case). Everything works perfectly if I don't call
"Write" successively.
For example the following code:
//it doesn't matter if \r\n is used or not,
//the problem is the same
sp.Write("01\r\n");
sp.Write("0123\r\n");
sp.Write("01234567\r\n");
sp.Write("0123456789\r\n");
If I'm debugging the application and I step through each line, all sequences
are sent and properly displayed on my receiving device. If I run the
application, only the first string "01" is sent.
Is it possible that the problem is in the receiver device?
Except for comport and baudrate, all properties are default.
Cheers
Padu
device (a pocket pc in my case). Everything works perfectly if I don't call
"Write" successively.
For example the following code:
//it doesn't matter if \r\n is used or not,
//the problem is the same
sp.Write("01\r\n");
sp.Write("0123\r\n");
sp.Write("01234567\r\n");
sp.Write("0123456789\r\n");
If I'm debugging the application and I step through each line, all sequences
are sent and properly displayed on my receiving device. If I run the
application, only the first string "01" is sent.
Is it possible that the problem is in the receiver device?
Except for comport and baudrate, all properties are default.
Cheers
Padu