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?
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.
Option 1: configure your FOR loop for parallel execution.
Option 2: optimize the timing of the code inside the loop