C# - Serial Read Write Using Threading (Part 3)

preview_player
Показать описание
Hi All,
I hope it will useful for you.

the project file you can download on link below

Thanks :)
Рекомендации по теме
Комментарии
Автор

I don't know why for some reason it connects but reads null, the ReadExisting() doesn't work for me, otherwise your program is a good example.

rotorblade
Автор

sir kiya send button auto click ho sakta hai

_i_am_sadik
Автор

while (serialPortIn.IsOpen)
{
if(serialPortIn.BytesToRead > 0)
{
readserialvalue = serialPortIn.ReadExisting();

}


Thread.Sleep(500);
}


this way is better

birdost
Автор

Hello! I really liked your videos! But if its possible to see in the recieve text box what you write to the com port?

kristinadoroshenko
Автор

Help create a CAN sniffer application in c# FORM: how to read packets using Arduino and mcp2515, how to parse them and put them in a DataGridView

ВасилийКолмаков-ги
Автор

Where is the attached project as you say

kcgdevdept
Автор

Hello sir! I copied your tutorial. It was great! However, in actual serial connection, I am not receiving any data but from hyperterminal, I can receive data. What seems to be the difference of this program from hyper terminal?

sorianojeloi
Автор

Dislike, sorry. Such long video (series) and all about actual read/write is ReadExisting() / WriteLine(). I thought the BaseStream is the proper way of working with SerialPort.

NotAnRCExpert
welcome to shbcf.ru