08-11-2014 12:34 AM
Hi.... I need filter and count display for number of strings occur in a single column of string array...I can't explain....below I just represented what is my need. Column A is Input string array...Column B and C are the output arrays....
Column A Column B Column C
Apple Apple 3
Banana Mango 2
Mango Banana 1
Apple
Apple
Mango
Can anyone help me...?
Solved! Go to Solution.
08-11-2014 12:44 AM
If you cant explain then how can you expect answer....
Here I attached sample vi which will help you to some extent. Let me know if you need any help
08-11-2014 12:55 AM
08-11-2014 01:03 AM - edited 08-11-2014 01:04 AM
Here, I drew up a quick example of what I mentioned above.
08-11-2014 05:00 AM
ya its working... but,I need output data are sorted manner.... from max to min......
08-11-2014 06:21 AM
Use sort 1D array.
08-11-2014 11:31 AM - edited 08-11-2014 11:32 AM
Use index and bundle cluster array. Then sort. Then reverse the output array.
When you sort an array of clusters, it sorts by the first element. That is why you can do this because the numbers get sorted, and the name comes along for the ride. But this will sort least to greatest, so the reverse of the array makes it greatest to least.
08-11-2014 01:34 PM
@Ranjeet_Singh wrote:
If you cant explain then how can you expect answer....
Here I attached sample vi which will help you to some extent. Let me know if you need any help
Actually, Ranjeet, there is value to asking an unformed question. People can then ask more questions to help the user define their problem. In fact, that's the way it happens in I'd say a majority of posts here.
08-11-2014 04:48 PM - edited 08-11-2014 04:49 PM
@billko wrote:
Actually, Ranjeet, there is value to asking an unformed question. People can then ask more questions to help the user define their problem. In fact, that's the way it happens in I'd say a majority of posts here.
In fact, I think the example given did a fine job of explaining, even though the words may not have. Sometimes I wish more people would post inputs and desired output, so I don't have to try and interpret what they are saying in the first place. Often times the more words there are just increase the chances of saying something contradictory when trying to explain the problem which leaves us at square one.
08-11-2014 11:43 PM
Ranjith...
I wanna say onething.....each and every people are not well qualified in all fields.... If you know one thing, I might don’t know about that....If I know something, you may not know about that... helping is always good habit.... anyway Thanks for your replying....