VS C# Serial Com Port Instant Messaging Tutorial-part 5 (Coding)

preview_player
Показать описание
This tutorial show you how to use the serial port function from Visual Studio
C# to create an instant messenger application. PLEASE USE MAX VIDEO RESOLUTION!!!
Рекомендации по теме
Комментарии
Автор

Sorry for my English!

That was cool. What about some advanced topics, like file transfer?

lorthefallenangel
Автор

great Video. Looking forward to seeing more of this

socke
Автор

Hi,

You should definitely check out the microsoft documentation of SerialPort Class. They have
different methods listed for sending byte, int, etc

KelvinLeUT
Автор

you can use as many as you want. You just need to change the port number in the code.

KelvinLeUT
Автор

okay, will this not work if I link a serial port on the back of my computer with a usb serial port? I only have one usb serial port converter. Nothing is happening when I press send or have the box checked. The code IS right. I'm guessing it has something to do with the usb serial port being directly connect to an actual serial port. Any help??

johnlahmann
Автор

if your program indicates that the port is successfully opened then
there shouldn't be any problem of sending serial data. If you have just one converter. Just hook up the TX to RX and open up putty to debug. See if you can send serial using putty first. Next, debug with VS as TX and Putty as RX.

KelvinLeUT
Автор

When I try to delete some characters in writeTexBox (while using InstantMS) using back space, nothing happens in the readTextBox. (only some strange characters apper in it).

P.S. Thanks for great series on VS C# ! :)

ZZ-ozvw
Автор

@kle8309 : Sorry for my English! This is just the fun part :-) My realy goal is to build a small app, which can up/download files to/from an old SMT mounter, via serial...

lorthefallenangel
Автор

can i use only one port to send and recive data?

elgus
Автор

for me, it work correctly but i got an issue.when i send 1 text (ex: abc) i recive another text like #$% (not abc). And i also try with other code (its about send and recive text too) it work but still got this problem, i dont know where mistake i did. Any1 here know it!! 
Thanks guys, and Kelvin

HuyNguyen-vpeb