|
-
Oct 6th, 2014, 08:30 AM
#8
Thread Starter
New Member
Re: reading data from serial port
Jenner, Thank you very much for your help! It worked. The only thing different I had to do is I had to break down the for loop and call four different statements. But I do have one more question. On and off the serial port spits out data like this:
005%0 OK
00567 OI
How can I capture only the good data? A serial port always spits out 5 lines of data and I am only reading the first line. Here is a sample of data:
ÿÿÿ 00573 OK
00%73 OK
00573 OK
00573 OK
00573 OK
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|