LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How can I modify the cluster values in an array of clusters?

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.

0 Kudos
Message 1 of 4
(2,506 Views)

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.

0 Kudos
Message 2 of 4
(2,502 Views)

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.

0 Kudos
Message 3 of 4
(2,495 Views)

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.

=====================
LabVIEW 2012


Message 4 of 4
(2,492 Views)