By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
446,341 Members | 1,446 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 446,341 IT Pros & Developers. It's quick & easy.

reading binary array from Serial Port

P: n/a
I am trying to read from my serial port a 24 bit binary number.
I was able to read this number as a HEX but I was getting errors as at
times using the vBCrLf indicator.
I also can read it as an incoming string looking for the vbCrLf
indicator but it too gave me errors as the length of the stream was
not always 24 bits for some reason.

I have to slow the output down to reduce the amount of garbled data
being sent to the serial port.

I want to try reading the buffer as an array but I don't have much
experience with arrays.
Is there any example code out there of how to read a serial port
buffer in 24 bit chunks?

Mar 28 '07 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.