Mc wrote:
> there is a more precise description of my vi:
> 1- list all files of 1 directory
> 2- for each file found, read data and do some conditional
> calculations, then add data to an array
> 3- when all files are read and computed, export this result array to a
> file.
>
> the problem is: the directory path for output depends on calculation,
> so i create it in the "for" loop. Then i export this path from loop
> with a property node. This property node is used later as input of
> "write characters to file.vi".
> And Labview tries to execute this before the "for" loop, and displays
> a file selection window, which should not be.
Why are you using a property node instead of just wiring the data?
If you can't avoid this, try the "queue"
(under advanced, syncronizing,
queue). Here you can create a queue, put the data in in one loop, and
let the read-command wait unthil there is any data in the queue.
I think if you put up an (possibly stripped down) example of your code,
someone could help to solve this in a clean way.
Bye
Marco