12-06-2008 12:08 PM
Ali,
Please don't mark your reply where you thank Mike as the solution. Mark Mike's actual reply as the solution. You can go into the options of your message to unmark yours as the solution.
12-09-2008 08:38 AM
Hi,
Your max and min function is set up such that you will only read 0 or 1 bytes from the port at a time, is that the correct behavior? If you can read chunks at least the size of the termination string you are looking for, you can use any search string function to check if any matches were found and terminate your loop if there are.