Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Spectrum Analyzer - Unknown Window Function Error #315

Open
vijaysukumarannair opened this issue Mar 16, 2021 · 1 comment
Open

Spectrum Analyzer - Unknown Window Function Error #315

vijaysukumarannair opened this issue Mar 16, 2021 · 1 comment
Assignees
Labels

Comments

@vijaysukumarannair
Copy link

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

@vijaysukumarannair
Copy link
Author

vijaysukumarannair commented Mar 16, 2021

Fix to be added: The highlighted line in the image to be added in code.

Screenshot 2021-03-16 at 11 28 20 PM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants