08-29-2011 12:45 PM
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
08-29-2011 12:52 PM
It sounds like you may be building an array inside a loop. Can you post the code?
08-29-2011 12:56 PM
Here is my VI
Thank you very much
08-29-2011 01:44 PM
I don't have 2011 installed yet. I'd advise saving down to 2010 so more people can access the VI.
08-29-2011 01:53 PM
I haven t the VI in version 2010 in my home. I did some screen shot
Thank you very much
Romaric GIBERT
08-29-2011 02:38 PM
@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.
08-29-2011 02:44 PM
Sorry I didn t know this option.
Here is my vi in labview 2010
08-29-2011 02:54 PM
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
08-29-2011 03:10 PM
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
08-30-2011 02:42 AM
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