Quantcast
Channel: VBForums - COM and ActiveX
Viewing all articles
Browse latest Browse all 62

Need some help with com port reads

$
0
0
HI

I need a simple bit of code that will read data at the serial port “SerialPort1”
and store it in a variable then show it in a RichTextBox in real time.

It will be called as a function "read_data", so I will use a button send data to the com port
(that is working) then read the com port incoming data, save as a string variable and show it in a richtextbox in realtime.

I have tried a lot of code examples but nothing seems to work and it’s very frustrating’

Does anyone have a bit of code that works, I can’t belive that there is not a way to do this but I can’t seem to find it.

Help Help

Thanks

Gord

Viewing all articles
Browse latest Browse all 62

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>