-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 So I couldn't resist, and the line that would actually call the set_fft_size callback function correctly would've been <callback>set_fft_size(min(int($fftsize),4))</callback>
However, QT Gui spectacularly SEGFAULTs on me when doing that. That actually happens in line 123 of gr-qtgui/lib/freqdisplayform.cc : d_sizemenu->getActionFromSize(newsize)->setChecked(true); which *might* be some relict from older times, but I can't really tell. I hope someone more familiar with the qtgui infrastructure might chime in. Greetings, Marcus On 04.06.2014 01:14, Marcus Müller wrote: > Hi! On 04.06.2014 01:05, Marcus Müller wrote: >> >> <callback>set_frequency_range($fc, $bw)</callback> to >> gr-qtqui/grc/qtgui_freq_sink_x.xml where the other callbacks are >> defined and try if it works for you? > Sorry, copied the wrong line. What I wanted to paste was: > <callback>set_fft_size($fftsize)</callback> > > Greetings, Marcus > > > _______________________________________________ Discuss-gnuradio > mailing list Discuss-gnuradio@gnu.org > https://lists.gnu.org/mailman/listinfo/discuss-gnuradio > -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBAgAGBQJTjlvFAAoJEBQ6EdjyzlHtIN4IAMHXlNAi86/E+Y3oSc8WkjEQ Hyh370ab55EaFrbvHYb9yLEXjC7hS1ccBLIpbMSKIRrHL/Z4rfIfMzlhEF4LA2cW TSJ0ydXb+KktRJ7bQ+V62RIufcyUXZc4OWZjfYvjT42GIzgUZAp3kI18n6Ohfeta FfoNWUnFJMxywYlgIE7QUgUYWIwMq4FTMGqNjGbBL8Jn6/RE7X8kJbnErjqNUprH Rx96MSj1MBiZrDPuPKYCgj8LR1c00jALorgA8lXtpYK1gufjSmYO0Bjol179kegb nQFPhMy6cfZChy8cTP0oBxQmC9aPrPtpCmHBcBCoDCIZxcUBU/x4TEEejgFM64g= =s2I+ -----END PGP SIGNATURE----- _______________________________________________ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio