LabVIEW has a somewhat hidden feature built into the variant attributes functionality that easily allows the implementation of high performance associative arrays. As discussed elsewhere, it is implemented as a red-black tree.
I wonder if this functionality could be exposed with a more intuitive set of tools that does not require dummy variants and somewhat obscure VIs hidden deeply in the variant palette (who would ever look there!).
Also, the key is currently restricted to strings (Of course we can flatten anything to strings to make a "name" for a more generalized use of all this).
I imagine a set of associative array tools:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This site uses cookies to offer you a better browsing experience. Learn more about our privacy statement and cookie policy.
Available in LabVIEW 2019 with the Collection > Map functions and VIs.