LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Syncronizing Multiple Time-Dependent Loops

Using labview 7.1 with the real time software I'm trying to syncronize three time-dependent while loops. Two are inside a for loop and one outside. I am able to use the "Syncronize Timed Loop Starts" function and the three start out in sync to begin with. However, I can't figuire out how to resync the two nested while loops with the outside while loop upon the next iteration of the for loop. I've tried using another "Syncronize Timed Loop Starts" function just for the two nested while loops but this doesn't seem to work.
0 Kudos
Message 1 of 3
(2,239 Views)
I haven't worked with timed loops, so I will make another suggestion - you can try using the functions in the Advanced>>Synchronization palette (for example, the Rendezvous VIs should help you).
If you want more help, you should probably post your VI.

___________________
Try to take over the world!
0 Kudos
Message 2 of 3
(2,207 Views)
Are your loops using the same timing source and input parameters? If you want each iteration to be synchronized, then the obvious solution is to use the same timing source and input parameters. Thus, once they start together, they will finish and start each iteration together.

Regards,
E. Sulzer
Applications Engineer
National Instruments
0 Kudos
Message 3 of 3
(2,197 Views)