12-09-2025 04:08 AM - edited 12-09-2025 04:11 AM
Case 1 can be solved like this:
12-09-2025 12:08 PM
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)
12-09-2025 07:55 PM
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
12-09-2025 11:38 PM - edited 12-09-2025 11:40 PM
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.
12-12-2025 01:34 AM
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