LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Read all the files in a folder over and over again

Solved!
Go to solution

I tried adding the for loop, and I know this is something that happens only to a beginner, but wht's inside the for loop never executes, it only receives the parameters and it doesn't execute.

0 Kudos
Message 11 of 16
(612 Views)

As I said before, the problem is that the files created have different names and I can't predict which name they will get. That's the reason why I'm seraching for every new file that's created in the directory, so that it then overwrites the old file

0 Kudos
Message 12 of 16
(609 Views)
Solution
Accepted by topic author Nando88

Remove the 1 from the For Loop and this should run exactly as you want it to run for whatever reason.

Message 13 of 16
(608 Views)

If you don't have control of writing the files into the folder then where are they coming from? Some labview program or an external source?

0 Kudos
Message 14 of 16
(606 Views)

The files are coming from an external source.

0 Kudos
Message 15 of 16
(599 Views)

You have a list of files and only the last one needs to be copied, so why are you copying all in a row? Seems way too much work.

 

Here's a quick draft. For safey, I would really define a pattern (e.g. *.dat or whatever).

0 Kudos
Message 16 of 16
(593 Views)