LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Unresponsive UI when plotting in log scale

Ok thanks for the suggestion. Anyway in this case I am not interested in the update time of the graph, it is only once it is plotted that everything becomes laggy when I use the log scale(even when the program is not running it is hard to scroll in the FP). That said your suggestion would be useful for me later when I need to plot and see the FFT in real time

0 Kudos
Message 11 of 15
(864 Views)

@javielas1232 wrote:

Ok thanks for the suggestion. Anyway in this case I am not interested in the update time of the graph, it is only once it is plotted that everything becomes laggy when I use the log scale(even when the program is not running it is hard to scroll in the FP). That said your suggestion would be useful for me later when I need to plot and see the FFT in real time


Run VI Annalyzer.   I'd bet dollars to doughnuts you have overlapping FP objects.  


"Should be" isn't "Is" -Jay
0 Kudos
Message 12 of 15
(862 Views)

Ok, thanks for all your help.

First, I replaced the code that you suggested,  I coded like that when I didn't know how to deal with 2D arrays and I left it.

Then, regarding the decimation adapted for the log scale, I get the concept, I just think that I don't know how to properly code it(I am not asking you to code it for me) I just thought there could be an easy solution, which seems that there is not.

I didn't really get your last answer, multipying the plot by a factor of 7, I just get a wider plot that takes 7x more space, what did I do wrong?

 

Overall, I really thought there would be a simple way to solve this problem inLabview, given that when you

plot an FFT yo use a large number of points to get a precise freq detection and almost every time you want it to be plotter in log scale. Seems that I was wrong

0 Kudos
Message 13 of 15
(858 Views)

Ok, thanks for your suggestion, I have never used VI analyzer, will do it tomorrow

0 Kudos
Message 14 of 15
(849 Views)

@javielas1232 wrote:

Ok, thanks for all your help.

First, I replaced the code that you suggested,  I coded like that when I didn't know how to deal with 2D arrays and I left it.

Then, regarding the decimation adapted for the log scale, I get the concept, I just think that I don't know how to properly code it(I am not asking you to code it for me) I just thought there could be an easy solution, which seems that there is not.

I didn't really get your last answer, multipying the plot by a factor of 7, I just get a wider plot that takes 7x more space, what did I do wrong?

 

Overall, I really thought there would be a simple way to solve this problem inLabview, given that when you

plot an FFT yo use a large number of points to get a precise freq detection and almost every time you want it to be plotter in log scale. Seems that I was wrong


Multiply the plot width by 7, that is, if the width of the plot is 500 pixels, multiply that value by 7 and put it, 3500, into the decimation code as the plot width. Do not increase the plot size.

0 Kudos
Message 15 of 15
(837 Views)