Internal buffer(I/O) size of serialport
-
Hi friends, What is maximum size of data we can write to port & read from port? Is there any limit to it?
Reagards Shiva
-
Hi friends, What is maximum size of data we can write to port & read from port? Is there any limit to it?
Reagards Shiva
if you use System.IO.Ports.SerialPort component the maximum size of data to read = SerialPort.ReadBufferSize and maximum size of data to write = SerialPort.WriteBufferSize. But you can adjust them as necessary. The ReadBufferSize property default 4096 ignores any value smaller than 4096. The WriteBufferSize property default 2048. i don't know the maximum limit, but i think is Int32.MaxValue any ideas?
dhaim ing ngarso sung tulodho, ing madyo mangun karso, tut wuri handayani. "Ki Hajar Dewantoro" in the front line gave a lead, in the middle line build goodwill, in the behind give power support