# Streams are not aligned properly in wx time sink

**URL:** <https://www.ruby-forum.com/t/streams-are-not-aligned-properly-in-wx-time-sink/241617>\
**Category:** GNU Radio\
**Created:** [April 19, 2015, 3:17pm UTC](https://www.ruby-forum.com/t/streams-are-not-aligned-properly-in-wx-time-sink/241617 "2015-04-19T15:17:16Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Detlef\_R](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/58f4c7/32.png) [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Post date:** [April 19, 2015, 3:17pm UTC](https://www.ruby-forum.com/t/streams-are-not-aligned-properly-in-wx-time-sink/241617/1 "2015-04-19T15:17:16Z")

</div>

Hi all,

I have an example where I see the output of three blocks in a wx time  
sink:

[http://web.eecs.umich.edu/~anastas/docs/wx.png](http://web.eecs.umich.edu/~anastas/docs/wx.png)

I didn’t get the expected result and I run in also with qt time sink:

[http://web.eecs.umich.edu/~anastas/docs/qt.png](http://web.eecs.umich.edu/~anastas/docs/qt.png)

The two pictures are different!  
The wx time sink does not seem to align the three signals properly…  
(I double checked this by also outputing to a file and confirming that  
the qt picture is the correct one)

Any suggestions?

thanks  
Achilleas

---

<div class="post-metadata">

**Author:** ![Achilleas\_A](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/74df32/32.png) [@Achilleas\_A](https://www.ruby-forum.com/u/Achilleas_A)\
**Post date:** [April 19, 2015, 5:34pm UTC](https://www.ruby-forum.com/t/streams-are-not-aligned-properly-in-wx-time-sink/241617/2 "2015-04-19T17:34:15Z")

</div>

On 19.04.2015 06:15, Achilleas A. wrote:

> The wx time sink does not seem to align the three signals properly…  
> (I double checked this by also outputing to a file and confirming that  
> the qt picture is the correct one)
> 
> Any suggestions?

Yeah: Use the QT widgets.

As we keep mentioning, the WX widgets will be going away in the future,  
and no one wants to maintain them. Of course, if someone has a bug fix  
for this, that would be even better, but please don’t rely on the WX  
GUIs in the long run.

Cheers,  
M

---

<div class="post-metadata">

**Author:** ![Achilleas\_A](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/74df32/32.png) [@Achilleas\_A](https://www.ruby-forum.com/u/Achilleas_A)\
**Post date:** [April 19, 2015, 5:40pm UTC](https://www.ruby-forum.com/t/streams-are-not-aligned-properly-in-wx-time-sink/241617/3 "2015-04-19T17:40:35Z")

</div>

On 04/19/2015 11:32 AM, Martin B. wrote:

> \_  
> Is there a stripchart implementation for Qt in the works?

---

<div class="post-metadata">

**Author:** ![Achilleas\_A](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/74df32/32.png) [@Achilleas\_A](https://www.ruby-forum.com/u/Achilleas_A)\
**Post date:** [April 21, 2015, 4:43pm UTC](https://www.ruby-forum.com/t/streams-are-not-aligned-properly-in-wx-time-sink/241617/4 "2015-04-21T16:43:13Z")

</div>

On Sun, Apr 19, 2015 at 11:39 AM, Marcus D. Leech [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
wrote:

> > M
> > 
> > \_
> 
> Is there a stripchart implementation for Qt in the works?

Not yet. It’s not a terribly difficult one to conceive of. My only issue  
is  
trying to squash it into the current time\_sink blocks or just create a  
separate strip\_chart class for this. The latter means more code to  
update  
later, but it might simplify the logic that would appear in a work  
function  
that’s trying to be both things.

Tom

---

<div class="post-metadata">

**Author:** ![Achilleas\_A](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/74df32/32.png) [@Achilleas\_A](https://www.ruby-forum.com/u/Achilleas_A)\
**Post date:** [April 21, 2015, 5:04pm UTC](https://www.ruby-forum.com/t/streams-are-not-aligned-properly-in-wx-time-sink/241617/5 "2015-04-21T17:04:34Z")

</div>

Understood.

Most of my tuits are still all rectilinear as well…

On 2015-04-21 10:40, Tom R. wrote:

> M
> 
> \_ Is there a stripchart implementation for Qt in the works?

Not yet. It’s not a terribly difficult one to conceive of. My only issue  
is trying to squash it into the current time\_sink blocks or just create  
a separate strip\_chart class for this. The latter means more code to  
update later, but it might simplify the logic that would appear in a  
work function that’s trying to be both things.

Tom
