Search code examples
labview

Dictionary without Case structure


Is there any way of creating in LabVIEW something like a dictionary known from many other programming languages like C#, python, C++ (Map) without use of case structure ?


Solution

  • The OpenG library is pretty old. Another alternative is to use variant attributes directly, which should also be more efficient:

    Variant attribute lookup

    As long as you use the same variant, the attributes will be available.