Overview
This example shows a method of removing duplicate string values from an array.
Description
The Remove Duplicate Strings from Array VI will take an array of strings and use them as names for attributes of a Variant. Because Variants in LabVIEW cannot have multiple attributes of the same name, duplicates are removed. We then retrieve the names of all Variant attributes, sort them, count them, and return them to the user as the array of strings with duplicate values removed.
Requirements
- LabVIEW Base Development System 2012 (or compatible)
Steps to Implement or Execute Code
- Download the attached VI to your computer
- Open the VI " Remove Duplicate Strings from Array 2012 NIverified.vi"
- Run the program
Additional Information or References
VI Block Diagram
**This document has been updated to meet the current required format for the NI Code Exchange.**
Milan