08-03-2010 04:55 PM - edited 08-03-2010 04:58 PM
I don't understand what you are trying to do with the build array and transpose stuff. It just complicates things. You can operate on the raw array. This also avoids extra datacopies in memory.
All you need to do is select the right columns (2 and 3) as in the attached modification. The rest of the code remains the same (see attached).
Also, your "Pass" string is dirty (actually "Pass\s\s\s\s\s\s" in \-codes display, i.e. contains also spaces). You can either trim use whitespace or use the actual value including the spaces in the diagram constant. I would also make the match case insensitive. Modify as needed.
08-03-2010 06:28 PM - edited 08-03-2010 06:28 PM
Here is a picture of what Altenbach is talking about. After these mods, the bad array input now works.
08-03-2010 07:59 PM
I did the same way of indexing but without "trim whitespace" because I didn't know that I'm sending "Pass" with space.. Now it's working, getting ready for the LED/LCD display.
Thanks for all the HELP..