Jump to content

D_1

Members
  • Posts

    3
  • Joined

  • Last visited

Everything posted by D_1

  1. Woooow,cool. But I want to build from different sections an array. What I am doing is this: In sections I am looking for a special character. If found him, I add an array element to the array C. Is it possible to have a different syntax for the INI file. Like this : [Cluster A] Numeric = "2,000000" Numeric 2 = "2,000000" String = "" [Cluster B] Numeric = "2,000000" Boolean = "FALSE" Boolean 2 = "TRUE" [Array Of Cluster C 1] Ring = "0" String = "a" [Array Of Cluster C 2] Ring = "0" String = "b" [Array Of Cluster C 3] Ring = "0" String = "c" And for comparison this is what Write Read Cluster.vi is giving with the same values: [Cluster A] Numeric = "2,000000" Numeric 2 = "2,000000" String = "" [Cluster B] Numeric = "2,000000" Boolean = "FALSE" Boolean 2 = "TRUE" [Main Cluster] Array Of Cluster C.<size(s)> = "3" Array Of Cluster C 0.Ring = "0" Array Of Cluster C 0.String = "a" Array Of Cluster C 1.Ring = "0" Array Of Cluster C 1.String = "b" Array Of Cluster C 2.Ring = "0" Array Of Cluster C 2.String = "c"
  2. Hei, I have a cluster MAIN which has 2 clusters A and B that contains different controllers (bool,strings, integers, enum) and an array of clusters C that also contains different controllers. What I want to do, is to read from a INI file and save it into A, B cluster and in C array. I manage to write the values for A,B clusters, but with teh array C I have some problems. How or which is the best way to access the values from the INI file and save it into the C array which is a part of MAIN cluster. I have attached my code for the reading of the cluster A and B.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.