Ticket #104 (defect)

Opened 2 years ago

Last modified 2 years ago

gr_oscope_guts.cc outputs initial garbage; patch attached

Status: closed (fixed)

Reported by: dward Assigned to: eb
Priority: normal Milestone: release-3.0.3
Component: gnuradio-core Version: 3.0.2
Keywords: Cc:

The first time gr_oscope_guts outputs data it includes half a buffer of uninitialized data. When that data includes very large numbers (e.g., 1e37) it can take a long time for the autoscale in scopesink.py to recover.

Also, the most recent data point is sent as the first point in the output message instead of the last.

The attached patch fixes these problems. It has been tested on Cygwin and MinGW.

Attachments

gr_oscope_guts_cc.patch (1.3 kB) - added by dward on 11/18/06 18:10:44.
fixes for oscope buffering
gr_oscope_guts_cc.2.patch (1.4 kB) - added by dward on 11/18/06 18:13:19.
with corrected comment

Change History

11/18/06 18:10:44: Modified by dward

  • attachment gr_oscope_guts_cc.patch added.

fixes for oscope buffering

11/18/06 18:13:19: Modified by dward

  • attachment gr_oscope_guts_cc.2.patch added.

with corrected comment

12/19/06 13:24:11: Modified by eb

  • status changed from new to closed.
  • resolution set to fixed.

Fixed in r4151. Thanks for the patch, Don!

02/07/07 13:14:38: Modified by jcorgan

  • milestone changed from to-be-decided to release-3.0.3.