Take a look at the code at this node I use to read a Geiger Counter.
Serial Port
Hope it helps.
Diskcrash
In reply to Re: Com and Serial Ports by diskcrash in thread Com and Serial Ports by nofernandes