Thanks , i will try ----- Original Message ----- From: "Ben Rubinstein" <[EMAIL PROTECTED]> To: "How to use Revolution" <use-revolution@lists.runrev.com> Sent: Tuesday, July 11, 2006 5:46 PM Subject: Re: Auto Baud Rate Detection
> On 11/7/06 17:22, Camm29 wrote: > > Need to automatically detect and set one of two Baud Rates for Com Ports. > > 9600 or 2400. > > > > The device will respond to "Hello" with "Okay" if the Baud is correct. > > Have your code open the port with one baud rate, test it, if it doesn't get > "Okay" in reponse to "Hello", then close the port and reopen with the other > baud rate. > > I have a similar case - it knows what the baud rate is, and what a response > looks like, but not which port the device might be on - my app effectively > does the same thing, except that instead of changing the baud rate on each > test it changes the port. That works fine, I would expect this would work in > your case too. > > Ben Rubinstein | Email: [EMAIL PROTECTED] > Cognitive Applications Ltd | Phone: +44 (0)1273-821600 > http://www.cogapp.com | Fax : +44 (0)1273-728866 > > _______________________________________________ > use-revolution mailing list > use-revolution@lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > > -- > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.0.394 / Virus Database: 268.9.10/384 - Release Date: 10/07/2006 > > _______________________________________________ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution