LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

compare and search array

Solved!
Go to solution

Hallo

I have to compare a input data and the ideal data. so far i have understood how to do comparision but the problem create when ideal array have same element with different respective value , similarly input dat are appears to be also same but while doing search in final output array  in 3 column looks different than as it should be.

 

hope you understand my problem

thanking you

BR

kalu

0 Kudos
Message 1 of 5
(2,461 Views)

Hi Kalu,

 

Check the attached VI. Let me know if it helps.


Regards,

Nitz

(Give Kudos to Good Answers, Mark it as a Solution if your Problem is Solved;))

0 Kudos
Message 2 of 5
(2,446 Views)

thanks for reply but it is not what i want. the process is same as in 1st  vi but , i need the value of input data and ideal array side by side ,comparision of whole array doesnot sound good  beacause i need all element of array as output side by side

best regards

0 Kudos
Message 3 of 5
(2,432 Views)
Solution
Accepted by topic author kalu

The search array function will stop its search when it encounters a first similiarity.Thst the reason you are getting 500 for all the 'E' s

 

I have attached a draft .There are still elegant ways to do what you want to achieve.

 

 

Message 4 of 5
(2,418 Views)

thanks nijams you solved my problem

Best regards

kalu

0 Kudos
Message 5 of 5
(2,411 Views)