03-18-2009 12:34 AM
Hi All,
Im Intializing the an 2D array using IntializeArray.vi with col 16000 and row 4096.
What it mean? Whether it will allocate the memory of size 16000X4096?
If so then im filling data into the entire 2d array within a while loop using ReplaceArraySubSet.vi , It takes much time
One thing i verfied, For 16000X1 it takes 1sec 438 ms
and For 16000X525 it takes much time than 10Min .... Why this happening?
Then what i have to do to minimize the time to fill data..?
Thanks & Regards
Jagan
03-18-2009 03:29 AM
Hi Jagan,
where do you get the data from? Can you post what you have done so far?
Yes it will allocate the memory of 16000x4096x(sizeof selected type)
Mike
03-18-2009 04:03 AM
Mike
Here im having some restriction for attachment.
Filling data using a ReplaceArraysubset.vi inside a while loop, while loop terminate with the condition of filling data to the last cell.
In that it taking more than 15 min to fill the entire data. How can i reduce the amount of time on filling the data.
-Jagan
03-18-2009 06:59 AM
Hi Jagan,
where do you get your data from? Maybe it would be faster to use a for loop with autoindexing.
Mike
03-18-2009 07:47 AM
Hi Mike,
Im not using the auto index, the start value taken from the front panel and it is incremented inside the while loop which feeded to 2D array as data.
-Jagan
03-18-2009 07:59 AM
Hi Jagan,
it would be great if you can upload your vi. I think it would be much easier to help you.
Mike
03-18-2009 08:00 AM
Is this the method that you are using?
My machine can do 16000x525 in < 1 minute. I don't have enough memory for 16000x4096.
03-18-2009 08:07 AM
No, My Machine can do 16000X1 < 1.5 Second.
I have enough memory, but 16000X525 takes more than 15 minutes.
Sorry friend, Im using labview 7.0 Express. I cant able to open the file.
Jagan
03-18-2009 08:09 AM
Hi Jagan,
attached you'll find the code from vt92.
Mike
03-19-2009 04:25 AM
Mike
In did this through while loop and not used the shift register,
Any 16000x1 takes 1.5 sec in the sense it should take15 second for 16000x100 isn't it?
Why it take more than 4 minutes.
Jagan