05-05-2009 04:32 PM
Hello:
This is such a basic question. I really should not be having a hard time with it but I been using labview only about 5months now.
I have about 5 waveforms with about 700K datapoints (samples). All of which I plot.
I think this is using up a lot of memory.
Is there a simple vi that I can use to plot say only every 10,000 samples. I believe this may help with my "Not enough Memory" issue.
My VI is attached.
Setup:
NI PCI-MIO-16E-4
BNC 2110
Labview 8.5
Thanks in advance.
05-05-2009 04:46 PM
05-06-2009 03:50 AM
You are attacking the problem, from the wrong direction. Instead of using finite samples. You should use continuous sampling, and read/write your data in a loop. Say you want a update rate equal to 10 times pr second. then you run your loop 140 times reading/and writing 5000 samples each iteration. In each iteration you may plot the mean value in your chart. You will still be able to do all your filtering,calculation and saving as before. You may only do some small amount of extra programming, and the benefit will be a stable system.
Ps your block diagram/front panel is somewhat chaotic, but I have seen worse. I can see you are a beginner;). It is OK for now. This is probably a student project. But if you do some Labview programming later on you should pay more attention to your programming style
