LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

memory is full

Unless your array is extremely big, this shouldn't be a problem.

My guess is that your "step" is 0, and that division by 0 generates NaN, and initializing an Array to NaN size causes this error.

Another option is that "step" is a very small number, causing the array to be very large and running LV out of the memory it needs.


___________________
Try to take over the world!
0 Kudos
Message 11 of 15
(1,064 Views)
how big is #points?  Depending on the RAM of your computer, there is a limit to how much memory you can use in your VI.  Memory is deallocated only after the whole VI finishes running, so all the controls and indicators (including the 8 arrays you created -- 7 you stored in controls, 1 was auto indexed and left unconnected at the end) takes up memory.  Try lowering #points and using the Profile Performance and Memory option in LabVIEW to anaylsis the memory usage of your VIs.  Look under "Profile Performance and Memory window" in LabVIEW help for more information
0 Kudos
Message 12 of 15
(1,056 Views)
I would like to make one correction to my previous post - initializing to NaN probably coerces the value to the max I32 value, which makes the array very big, hence not enough memory.

___________________
Try to take over the world!
0 Kudos
Message 13 of 15
(1,036 Views)

Hello Devchander,

 

I have used an empty array as you recomended, it is working perfectecly.

 

Thanks

 

Benio 

0 Kudos
Message 14 of 15
(1,023 Views)

Hi Benio,

Good to hear that your problem got solved!

glad to have been of assistance

All the best

Dev

 

0 Kudos
Message 15 of 15
(1,011 Views)