LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Re: Rube Goldberg Code

If you change the default TDMS behavior from Open to Open(Read Only) you should see an improvement.

 

mcduff

0 Kudos
Message 11 of 13
(804 Views)

I think the Read TDMS is so slow since it will allocate a lot of memory.

 

AFAIK., the Advanced TDMS function allow reading chunks. I'm not using TDMS a lot though.

 

Reading 1 X 100 MB is a lot slower then 100 X 1 MB...

0 Kudos
Message 12 of 13
(769 Views)

wrote:

1) Parallelization not helping? This surprises me as the code itself doesn't have a loop to loop variability. It should have a significant boost in speed if you have more than 2 cores. There is one exception that if the loops run so fast, that parallelization overhead actually slows things down. If this is the case, I doubt the for loop itself takes any time at all.


The loop code here is extremely skinny while parallelization requires significant work to split the data and reassemble the results in the right order for the output.. It does not surprise me that there is no parallelization advantage here. Use the parallelization for loops that do heavy lifting.

0 Kudos
Message 13 of 13
(753 Views)