|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
|||
|
|||
|
Re: Getting Input from Serial Interface
there are a few ways to deal with serial data. You can read how many bytes were received(there is a vi to tell you this) but that doesn't necessarily mean you are grabbing a complete packet and that it's starting with a packet start.
Another way you can do it is to read a single byte at a time, store it in a buffer, and parse it for the structure of a packet then extract the data you are looking for. |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|