LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

192 nos of Waveform Chart on front panel showing Not enough Labview Memory

Hello Everyone

I am using 192 nos of Waveform charts on front panel place over tab control 16 charts on each page total pages are 12 of tab control.

Each Waveform Chart contain  5 Signals.

after placing all charts on front panel it gives error Not Enough Memory to compile.

0 Kudos
Message 1 of 6
(2,351 Views)

What does "192 nos" mean?

 

Are you saying you have a quantity of 192 waveform charts on your front panel?

 

I'm not surprised you'd run out of memory.  That is a huge number.  Each chart brings a memory footprint with it and it could be rather larger depending on the size of the chart history.

 

I suggest you rethink your user interface.  Instead of 192 charts, try a using a select number of waveform graphs.  Instead of multiple tab pages containing them, let the graphs float over top.  Store your "chart history" in shift registers.  Whenever someone changes the tab page, change the data shown in the graphs to what is appropriate for that page.

0 Kudos
Message 2 of 6
(2,319 Views)

yes 192 no of Waveform chart and each chart contains 5 different plots..in it.


chart block.jpgchart front.jpg

 

i have kept chart history length 12000

images just shown for only one waveform chart..

0 Kudos
Message 3 of 6
(2,305 Views)

Hi AtulS,

 

memory per chart: 5*DBL*12000=60k*DBL=60k*8B=480kB

192 charts with the same amount of memory: 192*480kB = 92160kB ~ 92MB

 

From the raw numbers this should be ok, BUT we don't know how many data copies you made in your VI.

And handling 192 charts in a single FP is pure non-sense!

 

I agree with Christian: rethink your UI design…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 4 of 6
(2,290 Views)

My application is i am testing up to 50 Meter long plate taking reading for each mm with the help of encoder pulse

I want to log as well as plot the data points simultaneously..i am using tdms files to log numeric data

But while plotting such huge data points on waveform chart i am facing memory issues..

I am not much experienced for choosing which graph or chart is to used.

Collecting data from 192 channels so i thought using 192 no of waveform chart will help me (bad selection).

Any better suggestion.?

0 Kudos
Message 5 of 6
(2,252 Views)

Hi AtulS,

 

Any better suggestion.?

- collect data in one place (like a FGV or DVR)

- decimate data before displaying on a graph (just (one graph!) 

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 6 of 6
(2,240 Views)