LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Retrive Text File date wise

I am working on reporting module.

 

when i select Start date and  End Date, then all files between these dates will be fateched in labview and build an array.

 

my file name format is:

 

21-02-2010.txt

22-02-2010.txt

.......

..........

 

please guide me on thathow i can increment start date to end date.........

 

Prashant Soni
LabVIEW Engineer
0 Kudos
Message 1 of 3
(2,570 Views)

Use "list folder" function. In pattern connect "*.txt". Before "*.txt". You can also define the date required like "02-2010*.txt" which will return the 2nd months report.

0 Kudos
Message 2 of 3
(2,562 Views)

what you could do is the following:

1) Get a list of all filenames

2) Check one by one the file names if they are in the proper data range (see picture)

 

17729i8EE8B32D198C054B

 

3) Build an array of filenames in range

 

Marco

 

0 Kudos
Message 3 of 3
(2,548 Views)