Spectrum Analyzer - Unknown Window Function Error
vijaysukumarannair opened this issue · comments
Issue: The spectrum plot window does not show any signal when spectrum analysers "start sweep" button is clicked.
Error: The window_function of oscplot.c throws "unknown window function" as error.
Root Cause:
File: oscplot.c
Function: update_transform_settings
Code: For plot_type == SPECTRUM_PLOT, settings->fft_win is not updated.
Fix:
File: oscplot.c
Function: update_transform_settings
Add below line within the condition block "else if (plot_type == SPECTRUM_PLOT)"
FREQ_SPECTRUM_SETTINGS(transform)->fft_win = gtk_combo_box_text_get_active_text(GTK_COMBO_BOX_TEXT(priv->fft_win_widget));