LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

multiple chart memory

Hi,

I have to acquire 32 signals and display it on 5 differents waveform chart with a sample rate of 100kHz. My problem is when I use 1 waveform my program works, but when I have more one waveform chart, my RAM increase continousily until I have an error of overwritten.

All my chart history lengh is 1024.

Could you help me please?

 

Thank you very much

 

Romaric GIBERT

0 Kudos
Message 1 of 11
(2,928 Views)

It sounds like you may be building an array inside a loop. Can you post the code?

Richard






0 Kudos
Message 2 of 11
(2,924 Views)

Here is my VI

 

Thank you very much

0 Kudos
Message 3 of 11
(2,922 Views)

I don't have 2011 installed yet. I'd advise saving down to 2010 so more people can access the VI. Smiley Happy

Richard






0 Kudos
Message 4 of 11
(2,914 Views)

I haven t the VI in version 2010 in  my home. I did some screen shot

 

Thank you very much

 

Romaric GIBERT

Download All
0 Kudos
Message 5 of 11
(2,911 Views)

@Roro8989 wrote:

I haven t the VI in version 2010 in  my home. I did some screen shot

 


But you can File... Save for A Previous Version.

That will make a new folder and put the VI's in it. 

Richard






0 Kudos
Message 6 of 11
(2,901 Views)

Sorry I didn t know this option.

Here is my vi in labview 2010

0 Kudos
Message 7 of 11
(2,896 Views)

Those blue wires duplicate data.

 

Mod your code to use the Waveform data type (using index array to select and build array to assemble) and the memory foot print should be smaller. Not ideal but smaller.

 

Moving the chart updates to the consumer loop would also let you avoid the "buffer duplication on wire branch" where you split the wire to update the graph and pump the queue.

 

Ben

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
0 Kudos
Message 8 of 11
(2,887 Views)

Thank you very much for your response.

 

If I well understood, you would like that I change the blue wire by array. Is a llike in my picture  attachment file ? Can I wire directly the output of my build array to the waveform chart?

 

Thank you very much

 

Romaric GIBERT

0 Kudos
Message 9 of 11
(2,880 Views)

Hi,

I tested with your advice, change the blue wire by array but it s always the same things.

 

Any idea??

 

Thank you very much for your help

 

Romaric GIBERT

0 Kudos
Message 10 of 11
(2,865 Views)