09-09-2025 07:59 AM
Hello,
I have an API call that returns all this information (the array on the left), and it returns the description, document number, and version of this document (it returns all versions of the same document).
I need to output only the most recent version of each document.
Could you help me?
Solved! Go to Solution.
09-09-2025 08:25 AM
Simplest would be to use a map (if you are on LabVIEW 2020+). Iterate through your 2D array and only add the item to the map if the version is higher than the one already in the map (or if it doesn't exist yet of course). The output is just the map itself.
09-10-2025 07:25 AM
prior to labview 2020, you would use variant attributes
09-11-2025 10:27 AM
Assuming the highest version is at the top you can solve it like this: