Skip to Content
0

How can I connect serialport in SDK codes?

Oct 24, 2017 at 01:11 PM

40

avatar image

Hi all,

I want to connect SerialPort in SDK codes to send and receive from device, actually in normal VB I can get it in toolbox but in SDK codes toolbox has empty item, so how can I connect it in SDK codes?

Please anyone can help me

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Best Answer
DIEGO LOTHER Oct 24, 2017 at 03:21 PM
1

Hi Rurangwa,

To connect with a serial port, I believe you should use SerialPort class from .NET framework.

There is a sample on MSDN page: https://msdn.microsoft.com/pt-br/library/system.io.ports.serialport(v=vs.110).aspx

I am able to use this class and read the data from a balance connected in a COM port with my computer.

Hope it helps.

Kind Regards,

Diego Lother

Show 1 Share
10 |10000 characters needed characters left characters exceeded

Thank you Diego

0