Hi,
I have been trying to make a small scripiting language for a labview program that would allow the user to specify the value that he wants to assign to a value in a cluster. For example, say my cluster has a field named "q" and a field named "v". I want the user to be able to type q 10 and set the "q" field to 10. The problem is that I have not found any way to enter the cluster field name as a string, like I would be able to do in a hashtable in an ordinary programming language.
So then I tried making my own VI that converts the cluster to XML, does a search and replace to do what I want, then converts it back to a cluster. The problem is, it doesn't seem like there's any way to allow the VI to take in a generic cluster, only a cluster of a specific type. Then I tried creating a control from the cluster->XML VI's "anything" terminal, but that didn't help either.
Does anyone have any ideas?