Real Software Forums
http://forums.realsoftware.com/

Serial port 460800 baud
http://forums.realsoftware.com/viewtopic.php?f=6&t=8219
Page 1 of 1

Author:  geppo [ Fri Oct 13, 2006 9:13 am ]
Post subject:  Serial port 460800 baud

I need to use my serial port at 460800 baud; my PCI-RS232 board supports up to 920kb/s but
System.SerialPort(3).MaximumSpeed

returns 230400.

Do I can setting an higher speed? The language reference says "Setting nonstandard baud rates is supported only on Windows" but I don't understand what it means...

Thanks in advance.

Author:  Aaron Ballman [ Fri Oct 13, 2006 9:19 am ]
Post subject: 

Not all serial devices report their maximum supported speed, so in that case, REALbasic defaults to a fairly reasonable max speed of 230k baud.

The best thing you can do is set the baud to what you require, then open (or reset) the port and see what baud rate the OS is allowing you to transfer at.

Serial1.Baud = 460800
if not Serial1.Open then return

if Serial1.Baud < 460800 then return

Author:  Mafi [ Wed Nov 23, 2011 9:52 am ]
Post subject:  Serial port 500000 baud and beyond

Hello Aaron,

I know it is an old post, but it helped me alot. I have the same problem: the current FTDI driver 2.2.16 from http://www.ftdichip.com/Drivers/VCP.htm allows me to set Serial1.Baud = 500000 (tested so far for PPC MacOS-X 10.4.11 and Intel MacOS-X 10.6.8), connecting to new "black box" for model railroad controlling.

System.SerialPort(3).MaximumSpeed still reports 230400 baud. Can I hope that the driver is really using such a high speed? The communication seems to be stable, but connection fails sometimes.

Is there any other way to access the driver's MaximumSpeed via RealBasic/RealStudio (except by testing)?

Thanks in advance!
Mafi


PS: links related to this subject found so far:
http://developer.apple.com/library/mac/ ... Intro.html
http://e2e.ti.com/support/microcontroll ... 07979.aspx
http://forums.ni.com/t5/Instrument-Cont ... -p/1145194
viewtopic.php?f=1&t=28446
http://rowley.zendesk.com/entries/10906 ... -interface
http://www.mail-archive.com/realbasic-n ... 06684.html

Author:  Mafi [ Thu Nov 24, 2011 6:38 am ]
Post subject:  Re: Serial port 460800 baud

Hello to all,
maybe this is the solution (also by Aaron): http://support.realsoftware.com/listarc ... 03161.html

Mafi

Page 1 of 1 All times are UTC - 5 hours
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/