LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

My project is lagging hard

Solved!
Go to solution

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?

0 Kudos
Message 1 of 9
(3,882 Views)

Can you upload in 2011

--------------------------------------------------------------------------------------------------------
Kudos are always welcome if you got solution to some extent.

I need my difficulties because they are necessary to enjoy my success.
--Ranjeet
0 Kudos
Message 2 of 9
(3,873 Views)
0 Kudos
Message 3 of 9
(3,861 Views)

What actually you want to do with this?

 

What is your goal? 

--------------------------------------------------------------------------------------------------------
Kudos are always welcome if you got solution to some extent.

I need my difficulties because they are necessary to enjoy my success.
--Ranjeet
0 Kudos
Message 4 of 9
(3,850 Views)

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?

0 Kudos
Message 5 of 9
(3,848 Views)

@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)

0 Kudos
Message 6 of 9
(3,820 Views)
Solution
Accepted by menomena

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. ;))

 

 

Download All
Message 7 of 9
(3,815 Views)

Since I think that the compiler should handle this situation differently, I have written an idea here. Please vote for it if you agree. 😄

0 Kudos
Message 8 of 9
(3,798 Views)

Thank You so much, it works 🙂

0 Kudos
Message 9 of 9
(3,770 Views)