LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Problem with ConfigWr.vi

Hi All,
 
I like to update my ini file through write key function but i facing some problem with my vi here.
Attach with my ConfigWr. vi
 
regards,
Simon
0 Kudos
Message 1 of 4
(2,688 Views)
In the first for loop you are trying to auto index the elements in a cluster of clusters. You can only auto index an array. You will need to build an array containing each element of your cluster data. Then you can feed it into the for loop to automatically add the value for each key.

For the second for loop you are wiring a cluster in for the section names. Once again, this needs to be an array of section names, not a cluster.



Message Edited by Troy K on 09-26-2007 04:16 PM

Troy - CLD "If a hammer is the only tool you have, everything starts to look like a nail." ~ Maslow/Kaplan - Law of the instrument
0 Kudos
Message 2 of 4
(2,683 Views)
Hi Troy,
 
Thanks alot. I able to get it ..
 
regards,
Simon
0 Kudos
Message 3 of 4
(2,679 Views)
Converting the first bunch of clusters into an array isn't as straight forward as it may seem because they are different data types in the clusters.

Here is one suggestion...


You could also change all the data types in the 5 brown clusters on the left to only contain doubles. Then it would be much easier to convert them to an array.

Message Edited by Troy K on 09-26-2007 04:22 PM

Troy - CLD "If a hammer is the only tool you have, everything starts to look like a nail." ~ Maslow/Kaplan - Law of the instrument
0 Kudos
Message 4 of 4
(2,676 Views)