08-22-2010 06:59 AM
Hi :
i need to compare two index table , attach see file please ,, and if there is any change in specific row or column then indecate about row and colunm number
how can i do that in labview
thanks
wisam
Solved! Go to Solution.
08-22-2010 10:04 AM
Use an = comparison between the two tables. You will get a 2-D array of booleans.
Then just search for the False elements in that array.
08-22-2010 11:39 AM
Since the Test name list is different, you will get mismatches (false match) because the names are not the same for the same element index.
Did you want to first lookup the name and adjust the index before comparing the rest of the columns? In other words, did you want to offset the row index to match the Test name?
08-22-2010 12:08 PM
I've creates 2 examples in the attached VI.
The top loop searches for any row that has a mismatch and tells the index of the first mismatch.
The bottom loop searches for all mismatched row/column, regardless of having previously found a mismatch in that row. This one gives you a full list.
The example(s) should give you an idea of how to implement your solution.