06-14-2022 03:39 PM
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
06-14-2022 03:50 PM
@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.
06-14-2022 03:59 PM
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
06-14-2022 04:03 PM
Ok, thanks for your suggestion, I have never used VI analyzer, will do it tomorrow
06-14-2022 05:29 PM
@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.