473,323 Members | 1,560 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,323 software developers and data experts.

Higher BaudRate than 115200

I was looking at the MSCOMM32.OCX help when I found that it supports only up to 256000 bps baud rate. Is there another .NET COM that supports higher baud rates (e.g. 460800 and 921600 bps)

Thanks
Amjad
Nov 20 '05 #1
4 7796
Serial communications is always limited to a max bps of 115200. That is the
max speed the serial uart can handle.

There is not a .net based serial comm routine shipped with VS, but you may
find a 3rd party control.

HTH,

Wayne P.

"Amjad" <an*******@discussions.microsoft.com> wrote in message
news:DB**********************************@microsof t.com...
I was looking at the MSCOMM32.OCX help when I found that it supports only up to 256000 bps baud rate. Is there another .NET COM that supports higher
baud rates (e.g. 460800 and 921600 bps)?
Thanks.
Amjad

Nov 20 '05 #2
Hi,

MSComm is limited to 115200 bps, regardless of its documentation. Does your
hardware support speeds higher than 115200 bps? Most hardware does not.
There are only a few manufacturers of boards that provide higher speed
serial ports (Sealevel, Quatech, and Pacific Commware come to mind, but I'm
sure that there may be others).

However, if you do have hardware that supports higher speeds, you can use
P/Invoke (Platform Invoke) to call the Windows serial communications APIs to
open and use such a device. I have example code for this in my book, and
there are quite a number of others available online.

Dick

--
Richard Grier (Microsoft Visual Basic MVP)

See www.hardandsoftware.net for contact information.

Author of Visual Basic Programmer's Guide to Serial Communications, 3rd
Edition ISBN 1-890422-27-4 (391 pages) published February 2002.
Nov 20 '05 #3
Actually, I'm using a USB port as a COM Port (Serial-to-USB cable). I can communicate with this USB port using the Hyperterminal at any of the standard baud rates including 921600 bps with no problems. I assume if I can do that in Windows Hyperterminal then I could do it in VB.NET.

I'm still not sure where to find a solution. Any help

Amjad
Nov 20 '05 #4
Hi,

See my other reply. You can use the serial communications API.

However... What device are you communicating with that supports this speed?
If this is another PC where you also control the programming, then a network
connection will be even faster. It is VERY unusual to find hardware that
uses a serial speed in excess of 115200 bps.

Dick
--
Richard Grier (Microsoft Visual Basic MVP)

See www.hardandsoftware.net for contact information.

Author of Visual Basic Programmer's Guide to Serial Communications, 3rd
Edition ISBN 1-890422-27-4 (391 pages) published February 2002.
Nov 20 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
by: Willem | last post by:
Are there any tools that would support higher level application development with PHP? I need to develop a complex enterprise app, but I don't want my programmers to waste their time on low level...
699
by: mike420 | last post by:
I think everyone who used Python will agree that its syntax is the best thing going for it. It is very readable and easy for everyone to learn. But, Python does not a have very good macro...
0
by: Wilford Trelour | last post by:
Dear python-list@python.org, Diploma U N I V E R S I T Y&nbsp;&nbsp;&nbsp; D I P L O M A&nbsp;&nbsp;&nbsp; P L A N &nbsp;
0
by: Carlo Filippini | last post by:
Hi I am trying to control my mobile from my WinXP machine. The mobile is connected through USB which is mapped on COM 5. With Hyperterminal everything looks good. But when I try:...
2
by: Jochen Califice | last post by:
Hi NG! A wise man said "You don't have to know anything but where to find it" :) K I've been searching about two hours but didn't find one thing usable. I have a layer at my page. In it...
6
by: Peter Hans | last post by:
Hi, I developed two applications to test a flush() method in my application, but I am having some problems when running it at high baud rates (115200) I connected two computers using a...
3
by: dast | last post by:
Hi, I'm successfully using Richard Grier's NETCommOCX software (www.hardandsoftware.com) to communicate with a device over the USB-port (with a USB-serial-converter) at 115200 bps. Now the...
4
by: Andreas Borutta | last post by:
Hi, what is the task with which I could not cope? There is a link with an inline-element (strong e.g.) inside. It has a higher font-size than the content of its parent. For the hover effect...
3
by: Kaheru | last post by:
Hi, my IT knowledge not that strong. Hope you guys dun mind I asking a stupid question. I recently been assign with an assignment to performance test a FTP server. I gathered the data using a test...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.