Here one what was one my friend write for my need's.
I give to all free.

RS232LAB.zip

Regards Robert