cancel
Showing results for 
Search instead for 
Did you mean: 

How can I connect serialport in SDK codes?

former_member183402
Participant
0 Kudos

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

Accepted Solutions (1)

Accepted Solutions (1)

former_member185682
Active Contributor

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

former_member183402
Participant
0 Kudos

Thank you Diego

Answers (0)