LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Numerical Classification

Case 1 can be solved like this:

Yamaeda_0-1765275082623.png

 

 

G# - Award winning reference based OOP for LV, for free! - Qestit VIPM GitHub

Qestit Systems
Certified-LabVIEW-Developer
0 Kudos
Message 11 of 15
(140 Views)

Your expected grouping output file cannot be correct, because the first row contains duplicates (32, 56, 73).

 

Here's a quick draft solution that gives the same output (once we remove the duplicates in your grouping file and sort each row!)

 

As suggested, I uses a MAP where the key is the output row and the value is a SET of positive integers. The output rows are naturally sorted.

 

(Just a rough draft. I am sure it can be simplified! There could also be bugs)

 

altenbach_0-1765303453303.png

 

altenbach_1-1765303469069.png

 

0 Kudos
Message 12 of 15
(112 Views)

Thank you.
It seems I can't open it in my LabVIEW 2018 environment.
Is there a way to open it in 2018?

 

Best regards,

mxarai

0 Kudos
Message 13 of 15
(92 Views)

No. SETs and MAPs were introduced in LabVIEW 2019. Rewriting it in traditional code would be tedious, but could be done.

 

See also my talk.

0 Kudos
Message 14 of 15
(79 Views)

Everyone,

 

This task seems extremely difficult to code in LabVIEW 2018, so I've decided to give up and do it manually.

Thank you all for your cooperation up to this point.

 

Best regards,

mxarai

0 Kudos
Message 15 of 15
(3 Views)