xsharp.eu • SerialPort example
Page 1 of 1

SerialPort example

Posted: Tue Nov 16, 2021 12:35 pm
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

SerialPort example

Posted: Tue Nov 16, 2021 3:28 pm
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.

SerialPort example

Posted: Thu Nov 18, 2021 5:51 am
by Adrian
Attached an example