PDA

Click to See Complete Forum and Search --> : Serial communications problem


Mad Compie
Jan 5th, 2001, 01:27 PM
Hi kids,
My app requires a lot of data to be transmitted/received to/from the serial port at 19200bps.
Some older computers (especially laptops) give errors (probably overrun or something).
I found the solution by deselecting the Use FIFO buffers... checkbox (advanced tab) in the device manager.

Question is: How can I do this in software instead of manually changing the COM port settings? Could there be an API for this or do I need to change settings in System.ini?

Bill Crawley
Jan 17th, 2001, 04:04 AM
Just use the MSComm control that comes with VB6 Enterprise. Dont forget though on Serial ports you need to do some kind of CRC check incase of noise.

Mad Compie
Jan 17th, 2001, 11:58 AM
Yes, that's true but when using fifo buffer overrun may occur...