| Bandwidth Bottleneck? Is
your modem running too slowly or are the serial transfers between
your PC and handheld device taking too long? Your problems is most
probably due to an unoptimized COM port configuration. Here's how
you can improve the performance of your serial devices.
- Go to System Properties by right-clicking on My
Computer or via the Control Panel.
- Select the Hardware tab and you will see the screen
below :-

- Look at the Device Manager section and click on the Device
Manager button.

- This brings up the Device Manager screen.

- Open up the Ports (COM & LPT) device branch. Then you will
see the list of COM and LPT ports in your system.

- Select the COM port you want, right click and choose Properties.
Or just double click the COM port.

- In the screen that appears, click on the Port Settings
tab. Note the default settings below.

- First, increase the port's maximum transfer rate from the
default 9600 bps to 115200 bps. This alone
increases the serial bandwidth by 12X!

- Next, enable Hardware Flow Control. It's the best option for a
PC-to-serial device connection.

- Finally, click on the Advanced... button.
- In the screen that pops up, make sure both the Receive
and the Transmit buffers are set to their maximum values.
The screen below shows the optimal settings.

- Now, close all screens by clicking OK on each screen
and your COM port will now be running at a higher speed. Repeat
the steps above for your other COM port.
Comments?
If you have a comment or question about this tip, please post
them here.
Thanks for your time and I hope this tip has helped you some! :)
Adrian Wong
Adrian's Rojak Pot
http://www.rojakpot.com/
http://www.adriansrojakpot.com/
|