07-11-2011 10:35 AM
Hi all - I can't believe that I am having trouble with this but for some reason I am completely wrapped around the axel with it. I have an array of clusters, they are all strings but with different names. I am using key configuration VIs to setup a readable text file for the user. I also want the user to be able to load up the array of clusters with the values that are in the text file. So I am reading the keys and trying to populate the array of clusters to show what is in the text file and then run the test using those values. However I am not able to get the clusters populated correctly. Does any one have an example of what I am trying to do? Basically I am trying to populate an existing array of clusters with new values. That is what it comes down to. Thanks in advance for any help.
07-11-2011 10:56 AM
Have you looked into the Open G functions. There is are VI's there that take structures like a cluster and will save them to a config file and read them back.
07-11-2011 11:08 AM
I am not very familiar with Open G. I looked for it on the web and found it is now part of LAVA from what I can tell. Did some searching there and could not find an answer.
07-11-2011 11:13 AM - edited 07-11-2011 11:14 AM
Go to jki and dowload VIPM (VI Package Maager). From there you ca install OpenG. Lot's of useful stuff.
Also if you cosider XML to be readable you can use flatten to/from XML.