LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

read and sort values present in .ini file

Solved!
Go to solution

Hi all,

 

I have a .ini file in which a set of modules with there order of execution is mentioned.I want to get all these values sorted as an array so that I can proceed with the execution of each in the order mentioned.The module list in the .ini file looks like this:

 

.ini file_module list.JPG

 

Here, digits represent the order of execution of module.

 

I should get output as an array with following values:

 

1 MNO

2 DEF

3 STU

4 PQR

5 GHI

6 VWZ

7 ABC

8 JKL

 

I know about config data and read key vis but since the module list is huge I dont know how to write an efficient code for this.All suggestions are welcome.

Thanks.

0 Kudos
Message 1 of 4
(3,195 Views)
Solution
Accepted by topic author mnx

The snippet below should be very close to what you want.

sort module list from INI.png

Message 2 of 4
(3,181 Views)

Hi,could you please post the vi for this.?

0 Kudos
Message 3 of 4
(3,173 Views)

Thanks nathand..I got it..:)

0 Kudos
Message 4 of 4
(3,169 Views)