468,491 Members | 1,950 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,491 developers. It's quick & easy.

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 7427
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 discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

7 posts views Thread by Willem | last post: by
699 posts views Thread by mike420 | last post: by
reply views Thread by Wilford Trelour | last post: by
reply views Thread by Carlo Filippini | last post: by
2 posts views Thread by Jochen Califice | last post: by
6 posts views Thread by Peter Hans | last post: by
3 posts views Thread by dast | last post: by
reply views Thread by NPC403 | last post: by
reply views Thread by theflame83 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.