LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

sequential files reading problem from a folder in LabVIEW 2012

Solved!
Go to solution

Respected Sir/Madam,
                                       I have tried to make a program which
can read files sequentially from a folder and add all second column of all
files into a single file (*.csv).
Unfortunately it's reading files like (1,10,100,1000,11...19,..) but i want
the files will be reading in sequential format (1,2,3,4....1000).
For your kind references, here I attached the vi and the sample files
("renamefiles folder"-sample test data, which you have to read
sequentially).
(by using "rename files folder" will easily understand the sequential
reading problem) (if you add zero in front of file name and make those same digit; will give the correct sequential
reading)
Please find the enclosed documents and do needful ASAP.

Thanking you.

Regards,

Subhasis Mahata
E&ECE, IIT Kharagpur

0 Kudos
Message 1 of 7
(3,678 Views)
Solution
Accepted by topic author SubhasisMahata

You need to use a alpha logical sort such as this: http://zone.ni.com/devzone/cda/epd/p/id/12 and place it after your list folder vi

test.png


CLA CTAChampionI'm attending the GLA Summit!
Subscribe to the Test Automation user group: UK Test Automation Group
0 Kudos
Message 2 of 7
(3,659 Views)

Drat!  I was just about to post the same thing...

I did mine with variant attributes though. Smiley Happy

 

Message 3 of 7
(3,654 Views)

.aCe.,

 

When I download that LLB from the DevZone, I get a message saying it is invalid. Can you post what you have?

 

Lynn

0 Kudos
Message 4 of 7
(3,634 Views)

Lynn,

Thats strange, the link still works for me.

Please find attached the requested files.

Hope this works!

 


CLA CTAChampionI'm attending the GLA Summit!
Subscribe to the Test Automation user group: UK Test Automation Group
Message 5 of 7
(3,630 Views)

Thanks. That one works.

 

Lynn

0 Kudos
Message 6 of 7
(3,624 Views)

Thanks 4 such a currect &  quick reply. Smiley Surprised

0 Kudos
Message 7 of 7
(3,607 Views)