取消
显示结果 
搜索替代 
您的意思是: 

Handling the array

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

0 项奖励
1 条消息(共 13 条)
5,000 次查看

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

0 项奖励
2 条消息(共 13 条)
4,976 次查看

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

0 项奖励
3 条消息(共 13 条)
4,968 次查看

Hi Jagan,

where do you get your data from? Maybe it would be faster to use a for loop with autoindexing.

 

Mike

0 项奖励
4 条消息(共 13 条)
4,948 次查看

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

0 项奖励
5 条消息(共 13 条)
4,937 次查看

Hi Jagan,

it would be great if you can upload your vi. I think it would be much easier to help you.

 

Mike

0 项奖励
6 条消息(共 13 条)
4,932 次查看

Is this the method that you are using?

 

My machine can do 16000x525 in < 1 minute.  I don't have enough memory for 16000x4096.

 

 

>

"There is a God shaped vacuum in the heart of every man which cannot be filled by any created thing, but only by God, the Creator, made known through Jesus." - Blaise Pascal
0 项奖励
7 条消息(共 13 条)
4,931 次查看

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

0 项奖励
8 条消息(共 13 条)
4,926 次查看

Hi Jagan,

attached you'll find the code from vt92.

 

Mike

0 项奖励
9 条消息(共 13 条)
4,921 次查看

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

0 项奖励
10 条消息(共 13 条)
4,889 次查看