LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Parallel program not using more than 1 CPU

Sorry did that after.

 

But then a comment to the code, are you only interrested in the last value for each column that is above the threshold?

0 Kudos
Message 11 of 13
(390 Views)

Reemeber that LabVIEW 2012 has the conditional tunnel, which allows you to do basically the same, but parallelize the loop. 😄

 

With the default settings, it executes in 130ms on a single core but in 10ms with the parallel FOR loop. (16 core dual xeon). Seems significant!

 

(You also really need to disable debugging on the VI. I also think you forgot the conditional terminal in the innermost loop.)

0 Kudos
Message 12 of 13
(384 Views)

@ColeVV wrote:

The CPU is an Intel i7- 3820 3.6GHz.


The i7-3820 has only 4 hyperthreaded cores (8 virtual cores, but that's not really significant). You will not get much more than 4x out of it.

0 Kudos
Message 13 of 13
(379 Views)