Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

HOW to read from serial port in visual basic

Status
Not open for further replies.

Deexith Hasan

Advanced Member level 4
Full Member level 1
Joined
Oct 24, 2014
Messages
111
Helped
4
Reputation
8
Reaction score
3
Trophy points
18
Visit site
Activity points
740
Code:
Dim a As String = SerialPort1.ReadByte
        If a Is Nothing Then
            Exit Sub
        Else
            RichTextBox2.Text = a

        End If

i used the above code to read from serial port but my application hangs here..... whats the mistake?
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top