SerialPort example

This forum is meant for examples of X# code.

Post Reply
User avatar
Fabrice
Posts: 405
Joined: Thu Oct 08, 2015 7:47 am
Location: France

SerialPort example

Post by Fabrice »

Hi Adrian,

in .NET Framework, you can find a SerialPort class in the System.IO.Ports namespace :
https://docs.microsoft.com/en-us/dotnet ... at-ext-5.0

Please find attached the same sample as in Microsoft Documentation, but moved to X#, I hope it will help.

Regards,
Fab
Attachments
xsSerialPortSample.zip
(4.49 KiB) Downloaded 100 times
XSharp Development Team
fabrice(at)xsharp.eu
Adrian
Posts: 3
Joined: Tue Jun 13, 2017 6:19 am

SerialPort example

Post by Adrian »

>STATIC _serialPort AS SerialPort<
This is what I was searching for. No enough words to say how much you helpd me, Thank you again.
Adrian
Posts: 3
Joined: Tue Jun 13, 2017 6:19 am

SerialPort example

Post by Adrian »

Attached an example
Attachments
ComIO.zip
(62.43 KiB) Downloaded 76 times
Post Reply