Comm32 Logo
Home Button  Buy Button 

Topic:   Using custom baud rates

By: GuestPosted on: Apr 15 2019 at 01:30:43 PM
I want to use a custom baud rate with my serial adapter and I know it supports it.
When I do
SComm1.Settings = "31250,n,8,1"
I get
Run-time error '380':
Property value is not valid
This is the very same error I got when using the old MSComm32.ocx.
And that's why I ever bother to try your SComm32 instead.
Can anyone give me a hint?
By the way, my adapter runs at 12MHz, so 31250 could be achieved dividing it by 384, or I am missing something.

By: SupportPosted on: May 7 2019 at 02:36:31 AM
Sorry. No. Just standard baud rates.

But please tell me - what device are you connecting to that uses that baud rate?

I suppose for MIDI devices we could add 31250 or even a new property .CustomBaudRate=true/false Default false but if you enable CustombaudRate then you can set 'any' number you wish on the assumption that you know your hardware can support the given baud rate and handle your own crash if it doesn't.

I'll pop that into the suggestion baox for a future update.

Reply - add a comment to this topic.

You may enter letters, numbers and standard punctuation only. HTML and other scripts/tags will be rejected.

Topic:- Using custom baud rates


Enter the numbers.

Your name here is optional