473,246 Members | 1,799 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,246 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 7790
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: abbasky | last post by:
### Vandf component communication method one: data sharing ​ Vandf components can achieve data exchange through data sharing, state sharing, events, and other methods. Vandf's data exchange method...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 7 Feb 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:30 (7.30PM). In this month's session, the creator of the excellent VBE...
0
by: stefan129 | last post by:
Hey forum members, I'm exploring options for SSL certificates for multiple domains. Has anyone had experience with multi-domain SSL certificates? Any recommendations on reliable providers or specific...
0
Git
by: egorbl4 | last post by:
Скачал я git, хотел начать настройку, а там вылезло вот это Что это? Что мне с этим делать? ...
0
by: MeoLessi9 | last post by:
I have VirtualBox installed on Windows 11 and now I would like to install Kali on a virtual machine. However, on the official website, I see two options: "Installer images" and "Virtual machines"....
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: Aftab Ahmad | last post by:
So, I have written a code for a cmd called "Send WhatsApp Message" to open and send WhatsApp messaage. The code is given below. Dim IE As Object Set IE =...
0
by: marcoviolo | last post by:
Dear all, I would like to implement on my worksheet an vlookup dynamic , that consider a change of pivot excel via win32com, from an external excel (without open it) and save the new file into a...
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...

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.