Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

select bytes in a stream from COM-port...

Status
Not open for further replies.

Hylsan

Programmer
Mar 20, 2002
43
SE
Hi
I have a device that sends a 11 bytes long stream at 4800bauds speed into the serialport. The first byte in the stream is a syncbyte.
I need to pick out some of those bytes(byte 4,5,6) for futher processing. Does anyone have any ideas, tips or code to help me out?

thanks in advance

/Hylsan
 
Is it the sync byte bits (4,5 and 6) that you want to process or bytes 4, 5 and 6 from further up the stream?



William
Software Engineer
ICQ No. 56047340
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top