LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

read lvm in a loop

I have lvm files in a folder that were generated through data acquisition. 

I want to recobine the files and compress some columns of the data.

I have made the attached vi but it does not get all the files in the folder.

 

I would appreciate help in doing the following:

 

1) having some way of picking some consecutive files, lets say files

dat_002, dat_003, dat_004, dat_005....... dat_050

and getting the output of the wanted columns with compressed in the

output lvm file. 

 

2) having some way of getting the above done for all files in the folder.

 

Any help will be appreciated.

 

Thanks. 

0 Kudos
Message 1 of 4
(2,671 Views)

Hi magreent,

you can use the "List Directory" function or if you have LV8.5 or above, then you can use the "Recursive File List.vi" to list all files from your specified folder.

 

Mike

0 Kudos
Message 2 of 4
(2,651 Views)

Hi,

 

Would you mind adding the recursive list and list directory functions to my vi. 

I have been playing around with it and I am not getting what I am trying to do. 

 

Thanks. 

0 Kudos
Message 3 of 4
(2,615 Views)
Here is the attachment.
0 Kudos
Message 4 of 4
(2,612 Views)