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.

Serial port programming in Visual Studio >Visual Basic> Windows form application

Status
Not open for further replies.

yvqn9945

Newbie level 4
Newbie level 4
Joined
Aug 19, 2013
Messages
5
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Activity points
50
Serial port programming in Visual Studio >Visual Basic> Windows form application

Please any one can give me tutorial on serial port programming to write a Microsoft Visual Studio > Visual Basic > Windows Form application to communicate with Microcontroller. I have googled it but confused with visual c#, visual c++ and visual basic 6 &
What is the difference between visual studio >visual basic and visual basic 6.
 

Re: Serial port programming in Visual Studio >Visual Basic> Windows form application

Sometimes the software package will include a sample program of what you want to do.

You may need to poke through folders labelled 'samples', 'examples', 'help', etc.

And deeper among folders such as 'communication', 'comm', 'serial', etc.

With the BASIC's I'm acquainted with, you open serial communications by using a command similar to "OPEN COMM" followed by a few parameters. After that you read or write to the serial port similar to the way you do a disk file.
 

Re: Serial port programming in Visual Studio >Visual Basic> Windows form application

use the Serial class communicate through serial port with the device

Serial.getPortNames() -- gets you the port available on windows

Serial.baudrate() to set baud rate,and partiy,timeout and other stuff,set it up

and use Serial.write() to write date to serial port

after writing character,then close it using Serial.close()
 

Re: Serial port programming in Visual Studio >Visual Basic> Windows form application

Please any one can give me tutorial on serial port programming to write a Microsoft Visual Studio > Visual Basic > Windows Form application to communicate with Microcontroller. I have googled it but confused with visual c#, visual c++ and visual basic 6 &
What is the difference between visual studio >visual basic and visual basic 6.

For Visual Basic 6 tutorial with serial port for 8051 and PIC, you can visit this page. You can get simulation files, simulation video and more there.
https://embeddedtweaks.wordpress.com/category/projects/8051-microcontroller/
https://embeddedtweaks.wordpress.co...-appliances-via-pclaptop-pic-microcontroller/
 

Last edited:

Re: Serial port programming in Visual Studio >Visual Basic> Windows form application

If you are good at C and if you are looking for quick development then go for C#.NET

Visual C#, Visual C++ and Visual Basic are various kinds of languages.
 
Last edited:

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top