08-28-2013 01:41 PM
Hi, I have 2 very big digital waveforms (one contains about 900000 samples ( 0s and 1s) and teh other one 17000000) . I really have problem in graphing this waveform because it takes a lot of memroy and it is very dificult for me to pan or zoom in the waveform. In general the system becomes very slow and sometimes I need to reboot. Could you please help me on this. How can I free memory after rendering the graph or is there any way to fasten the process
Thanks
08-28-2013 01:50 PM
@tintin_99 wrote:
Hi, I have 2 very big digital waveforms (one contains about 900000 samples ( 0s and 1s) and teh other one 17000000) . I really have problem in graphing this waveform because it takes a lot of memroy and it is very dificult for me to pan or zoom in the waveform. In general the system becomes very slow and sometimes I need to reboot. Could you please help me on this. How can I free memory after rendering the graph or is there any way to fasten the process
Thanks
You have to be very careful to make as few copies of data as possible with huge datasets. I'm not particularly good with that either, so hopefully someone can assist you in super-optimizing your code. 🙂
08-28-2013 02:03 PM
Thanks billko for your tip. The code itself is not a big problem (although it is very important to also optimize the code). My main problem is when I want to render the graph on front panel, the system become very slow and I can hardly even move the mouse point. I hope someone can help me with that part. I am sure it is nor related to code because if I don't graph the digital signal everything is fine.
08-28-2013 02:15 PM
You may need to change the code to display smaller portions of data. Either show every 10 or 100 samples (decimation), or only show the first 10% or the second 10%, etc.
08-28-2013 02:23 PM
Great Idea, I will do it.
However I may need to graph the whole data with other signals.