LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Can Parallel Loop be used to run multi-tasks concurrently?

I just wonder if Parallel Loop VI can be used to run multi-tasks concurrently? If it can't, which structure can implement it?
Thanks.
0 Kudos
Message 1 of 2
(2,512 Views)
Yes, just make sure that there is no data dependency between the loops (Data dependency = output from one loop is input to other loop). If the computer has only one CPU, the code will actually execute sequentially, but LV's scheduler will switch tasks whenever there is a wait or when the data is not available for a particular node.

Lynn
Message 2 of 2
(2,502 Views)