Quantcast
Channel: LabVIEW topics
Viewing all articles
Browse latest Browse all 69376

Quantity and Repetition of array

$
0
0

I'm new to Labview and would like some assistance please.

 

I need to count quantity of a each item with duplicates in both. Meaning, if I have a 2D array:

Quantity       Item

1                  Tomato
2                  Tomato
3                  Tomato
1                  Apple
1                 Orange

 

I would like the resulting table to be:

6                   Tomato
1                    Apple
1                   Orange

 

I've figured out how to count duplicates of a single column, but I can't figure out how to incorporate the Quantity into it.

 

 


Viewing all articles
Browse latest Browse all 69376

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>