LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Slow "for loop"

Hi All,

I am filling a 512x512 array using a couple of for loops which is really slow. I have an initialized array outside and I am using the "replace array subset" as I have heard that this is the fastest way of doing it. In the picture there is an outer third loop which is just the number of arrays to be filled but as it takes 1-2 minutes to complete the inner 2 loops the uoter loop is not the problem.

Any help would be most appreciated.

Thanks

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

Hi Tommy77,

it'll not solve the speed problem, but you definitively need shift registers.

Can you upload your vi?

 

Mike

0 Kudos
Message 2 of 3
(2,391 Views)

Now i haven't tried this myself, but you've disabled indexing of the matrix. Isn't the whole idea to use the autoindex to make it easier to replace?

 

/Y

G# - Award winning reference based OOP for LV, for free! - Qestit VIPM GitHub

Qestit Systems
Certified-LabVIEW-Developer
0 Kudos
Message 3 of 3
(2,373 Views)