LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

For loop execution timing

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

0 Kudos
Message 1 of 3
(1,719 Views)

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.

0 Kudos
Message 2 of 3
(1,716 Views)

Hi,

 

Option 1: configure your FOR loop for parallel execution.

Option 2: optimize the timing of the code inside the loop

 

Regards

ʍolɟɐʇɐp ʞuıɥʇ
0 Kudos
Message 3 of 3
(1,715 Views)