Re: How Does the Waveform Chart Allocate Memory in LabVIEW?

2004-05-18 Thread Greg McKaskle
 I am not understanding the Memory allocation concept in chart. When it
 will be happened? If it is in run time, I am getting the exception
 before running the application itself. Can you help me on this?

This depends a bit on the datatype.  For all charts except those with 
the waveform datatype wired up, all memory is preallocated when the VI 
loads or compiles.  Some datatypes, like the 2D array can add plots at 
runtime, and obviously the chart history will need to reallocate when 
that occurs.

If the chart has a waveform or array of waveforms wired to it. It has no 
way of knowing how many points are in a waveform and will need to 
allocate them as they arrive.  It has a top array of waveforms that is 
preallocated.

I answered your question about the chart, but I'm not sure if this is 
what is causing your problem.  If you are setting the chart history to a 
very large number, you might try smaller numbers and see if that is part 
of the problem.  Otherwise it might be some other part of your diagram.

Greg McKaskle




How Does the Waveform Chart Allocate Memory in LabVIEW?

2004-05-17 Thread subbu
I am not understanding the Memory allocation concept in chart. When it
will be happened? If it is in run time, I am getting the exception
before running the application itself. Can you help me on this?