addis_a
November 23, 2014, 4:25am
1
Can anyone confirm the QT GUI Time Sink has a time scale text bug when
working at low sample rates in 3.7.6git-188-gf60cd24f? Please see
below:
https://dl.dropboxusercontent.com/u/49570443/qt_time_scale_grc.png
https://dl.dropboxusercontent.com/u/49570443/qt_time_scale_plot.png
https://dl.dropboxusercontent.com/u/49570443/qt_time_scale.grc
Plot text should be “ms” instead of “sec”. No show stopper; just
confused me when working with very low rates.
Thanks,
Lou
madengr
November 23, 2014, 6:50pm
2
Hi Lou,
yep, it looks exactly the same for me.
I think the text is statically set as “Time (sec)”, but QWT should
annotate the axis with a factor like 10^-3 automagically;
I’ll have a look at this, but most probably you’ll be faster than me
figuring things out (since you’re already at this ).
Greetings,
Marcus
madengr
November 23, 2014, 8:18pm
3
Nope, not a QWT bug, as increasing the sample rate from 1k to 1.002k
achieves the desirable result.
Am experimenting with floating point rounding in
gr-qtgui/lib/timedisplayform.cc
madengr
November 23, 2014, 9:50pm
4
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Under certain circumstances the axis label was not updated
(essentially it seems to be: iff you set the sampling rate to 1k);
patched this away.
Lou, you can find the minimal changeset attached; it should work
against current maint and master.
Greetings,
Marcus
On 11/23/2014 08:16 PM, Marcus M. wrote:
out (since you’re already at this ).
https://dl.dropboxusercontent.com/u/49570443/qt_time_scale_plot.png
https://dl.dropboxusercontent.com/u/49570443/qt_time_scale.grc
Discuss-gnuradio Info Page
_______________________________________________ Discuss-gnuradio
mailing list [email protected]
Discuss-gnuradio Info Page
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
iQEcBAEBAgAGBQJUckgxAAoJEAFxB7BbsDrLMMoIAIPR3ahpApMvrh6w6v7umdZ8
6wOECxIEPW5ATrGhJkWfbBa7yGGvU0xd1qJWZd2StqMLgzTq0hPo1rljgPXi09JF
J26MCSqMePmh1moP+dD5Lh38962h5YiM+/DZ8zkKE2ZkyvqBCktKkQ/GIBiCWIct
+XM2jTtjtS4nI5F4cV+R+Dp2VjmENpSuCsD0/tFlzkCaq8nwlN/dxYXe8CZC1ImT
qXmXcc2C6SwU7BBjCMEqr67o1IUzgtvQomygFjhRWSZ20f1uTKJMaB/iAi+Bglpn
MXjdoo7aGtZ+4Zue72WB/YhsDK9tlS9L4GD6Ia11Z+jRXUvYg4vNV2KHlcNs8SA=
=qGu3
-----END PGP SIGNATURE-----
madengr
November 25, 2014, 4:17am
5
Marcus,
OK; dumb question. How do I apply that, other an editing the source
manually? I tried the following, but it didn’t like it:
cd /usr/local/src/gnuradio/
patch < 0001-qtgui-fixed-non-changing-from-sec-to-ms.patch
Thanks,
Lou
Marcus Müller wrote
Greetings,
Marcus
–
View this message in context:
http://gnuradio.4.n7.nabble.com/QT-GUI-Time-Sink-text-scale-bug-tp51400p51421.html
Sent from the GnuRadio mailing list archive at Nabble.com .
madengr
November 25, 2014, 9:50am
6
On 11/25/2014 04:08 AM, madengr wrote:
Marcus,
OK; dumb question. How do I apply that, other an editing the source
manually? I tried the following, but it didn’t like it:
cd /usr/local/src/gnuradio/
patch < 0001-qtgui-fixed-non-changing-from-sec-to-ms.patch
$ git apply foo.patch
M