Hi,
The for loop (all loops by the way) is halted until everything in it is
finished.
Try this:
+ Make a while loop
+ wire TRUE to the stop criterium.
+ Put an indicator on the 'I'.
+ Put a MS Wait in it (e.g. 80 ms), to prevent 100% processor time.
Run it, and the indicator will increase fast.
Now put any dialog in the while loop. E.g. a message box.
The indicator will increase everytime you press 'OK'.
Note: stop by pressing CTRL+. and clicking 'OK' several times.
Regards,
Wiebe.
"N Cook"
wrote in message
news:5065000000080000001E6C0000-1031838699000@exchange.ni.com...
> Warning: Newbie to Labview...
>
> I have a problem in a rather complicated VI where bringing up the open
> file dialog halts some background operations.
>
> I would real
ly like to reproduce this behaviour for various reasons,
> but am unable to. I've created a simple VI with a for-loop where the
> index feeds a sine converter which in turn feeds a tank indicator.
> This produces an oscillating behaviour. To this VI I've added a file
> dialog control.
>
> Regardless of the multithreading setup, I'm unable to get the
> oscillating of the tank indicator to stop when the dialog is open. Is
> there something I can do to get this behaviour? I realize it's unusual
> to try to break things, but it is rather important for me.
>
> Thank you,
> Nigel