Thursday, November 29, 2007 12:32 AM
Assume that you have sent “abcd”; do you just receive “bcd”?
And would you please be more specific? Such as the property setting of the serial port.
By the way, is oku an array or a byte variable in your code? It seems an array in the first part, but you use it as a byte variable.Wednesday, December 05, 2007 7:00 AM
Thanks your reply.
Yes I send "abcd" with byte. But I get bcd.
Oku is byte array.
byte oku = new byte;
sport.PortName = portName;
sport.BaudRate = baudRate;
sport.DataBits = dataBits;
sport.Parity = (System.IO.Ports.Parity)praty;
sport.ReadTimeout = 500;
sport.WriteTimeout = 500;
Thank you very much for your interested.
XanimWednesday, December 05, 2007 10:38 PM