Cory K
2008-08-01 19:40:15 UTC
If I am doing a serial read for a specific instrument, how do I know how many bytes are coming in.
The instrument is transfering data once every second.
The data is 20 lines total, each line ending with "\r\n".
Is there a way I can read in each line by successively reading a certain number of bytes?
The instrument is transfering data once every second.
The data is 20 lines total, each line ending with "\r\n".
Is there a way I can read in each line by successively reading a certain number of bytes?