> I would like Labview to execute some program code in background at a
> constant rate, for example every second. It means the main VI execution is
> interrupted every second and this program code is executed. How can I
> implement this?
If you want it to be a part of your main VI, then put a parallel loop
with no data dependence on your main vi diagram. Then put the task in
the parallel loop and a wait ms multiple in the loop too.
If this is totally independent from your main VI and should run even
when your main isn't, make it another VI that gets invoked through the
menus, start menu, as a service, etc.
Greg McKaskle