04-10-2019 09:20 AM
Hi,
I have a For loop for which N=30. I have a piece of code inside the for loop which takes 1 sec to execute. So total execution time is 30 sec.
I want the same program to be executed in 10 sec. How to achieve this?
Regards,
Sneha
04-10-2019 09:23 AM - edited 04-10-2019 09:24 AM
Not much information to go on there. It depends on what is happening in that loop if LabVIEW will let you do it.
Perhaps you can parallelize the For Loop, you'd need it to be at least P=3.
04-10-2019 09:24 AM
Hi,
Option 1: configure your FOR loop for parallel execution.
Option 2: optimize the timing of the code inside the loop
Regards