LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

comparison between 2 arrays

i want to check if 2 arrays are equal or not ,as being equal is the condition of while loop to stop.
0 Kudos
Message 1 of 5
(3,076 Views)
Wire the arrays to the two inputs of the "equal" comparison operation and the output to the stop terminal of the while loop (set to "stop if true").
0 Kudos
Message 2 of 5
(3,074 Views)
i have done this but an error occurs data type mismatch
0 Kudos
Message 3 of 5
(3,066 Views)
Then post your VI so we can see what you are trying to do and offer specific suggestions.
0 Kudos
Message 4 of 5
(3,064 Views)

rasha wrote:
i have done this but an error occurs data type mismatch

The default output of the Equal? operation when you wire arrays is to give you an array so you can see the comparison for each and every element. To get a single Boolean output right-click on the Equal? function and select Comparison Mode -> Compare Aggregates.

Message 5 of 5
(3,048 Views)