I had few experiences in RS232 comm with USB, as nowadays laptops/pc they dont come with serial port no more. Serial ports usually emulated by USB, using TTL-to-RS232 transistor, MAX like some common supplier would use prolific as driver to emulate USB-to-RS232. First you need to know the data type, a simple string or binary.
Hello friends, hope you all are enjoying the start of winter season. By the way, I really hate winter season and I just want to hibernate in this season.
? Well coming to our today’s lecture, my today tutorial, serial port in VB 2010, is actually based on a request made by one of the member on my and as it is a really good topic so i thought to share it.Today we will make a software on Microsoft Visual Basic 2010 in which we will send data through the serial port in VB 2010. In this software we will send the data and also receive it. Simply follow all the given steps carefully and you can easily interface the Serial Port in VB 2010, its a fully working project with code so don’t do any mistake. Moreover check these two complete tutorials on Microsoft Visual Studio 2010 as well, these are quite fascinating.First of all download the Microsoft Visual Basic 2010. The installer can be freely downloaded from Microsoft.
After installing the software follow these simple steps. So,let’s get started with How to use Serial Port in VB 2010: How to use Serial Port in VB 2010??? Step 1: Creating a New Project.
I suggest if you would like to see some samples, then you can use Moxa PComm Lite, it's free. You can download this program fromDownload the file and install it. You can find the VB example in the smae folder. Very easy.Or if you want to debug and check the input and output data string, you may buy their PComm Pro. It included a powerful Data Scope utility. You can use the utility to detect what's wrong of your program.If you need that software, you could visit Moxa's website and contact them.sharpo.
Hi!!!I'm trying to build a visual basic program that will allow me to send information through the serial port RS-232. I don't have a clue how to start.
Do you have good websites where I can find tutorials about this, or even you, do you have some advice to give me to make it work. Actually the information would suppose to go to a CCP that will treat the information and then send it to a servo-motor. My part is only to set up a Visual basic program that will send and receive the information to and from the CCP.Thanks a lot for your help!!!Regards, Arnaud.
Comments are closed.
|
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
March 2023
Categories |