09-14-2013 05:21 AM
Hello, i ve made a project but after running it, it lags so hard. Also weird thing is going with my plot signed 'voltage signal 4', it has thousand of many colors. Can anyone take a look on it and say if same thing happens on your computers, and if it does, can u help me how to figure out what is going on?
Solved! Go to Solution.
09-14-2013 05:54 AM
Can you upload in 2011
09-14-2013 06:58 AM
09-14-2013 09:03 AM
What actually you want to do with this?
What is your goal?
09-14-2013 09:13 AM - edited 09-14-2013 09:15 AM
In my VI i am processing current and voltage signal basing on some algorithm, my goal is to get resistive current. I need to plot this, and it should be plotted on the last plot signed Voltage sig 4. After running it on my computer all is lagging. Is it working well on your computer? Can u put an image of the plot signed vol sig 4?
09-14-2013 12:50 PM - edited 09-14-2013 12:59 PM
@menomena wrote:
Hello, i ve made a project but after running it, it lags so hard. Also weird thing is going with my plot signed 'voltage signal 4', it has thousand of many colors. Can anyone take a look on it and say if same thing happens on your computers, and if it does, can u help me how to figure out what is going on?
This seems to be a plain single-shot subsVI, not a project.
Your problem is that you multiply a waveform with a large array in the lower right, giving you an huge array of waveforms and exponentially inflating all memory use!!!
You need to extract the Y component of the waveform, multiply with the 1D array, and then reassemble the waveform. (see next post)
09-14-2013 12:56 PM - edited 09-14-2013 01:07 PM
Here is one possible solution, see attached VI.
(I did not study the rest of the code to see if things even make sense overall. ;))
09-14-2013 01:58 PM
Since I think that the compiler should handle this situation differently, I have written an idea here. Please vote for it if you agree. 😄
09-15-2013 05:33 AM
Thank You so much, it works 🙂