Re: [Discuss-gnuradio] callback function called twice

2013-07-26 Thread Tom Rondeau
On Fri, Jul 26, 2013 at 10:21 AM, Marcus Leech wrote: > On some GUI slider widgets, there's a "call callback only on motion > finished" option. I don't know whether that's available in WxGUI, and > whether we use it (and whether the option to use it should be exposed within > GRC). Yeah. There a

Re: [Discuss-gnuradio] callback function called twice

2013-07-26 Thread Marcus Leech
On some GUI slider widgets, there's a "call callback only on motion finished" option.  I don't know whether that's available in WxGUI, and whether we use it (and whether the option to use it should be exposed within GRC). Also, doesn't the callback get called on first instantiation to set the defau

Re: [Discuss-gnuradio] callback function called twice

2013-07-26 Thread Tom Rondeau
On Wed, Jul 24, 2013 at 5:17 PM, Nemanja Savic wrote: > Actually it is not a big deal at all, I am just curious. > Yes, I am using WXGui slider. > Thank you Tom > > Nemanja Great. Just wanted to make sure it wasn't doing something else to your code. Probably just something like it responding to

Re: [Discuss-gnuradio] callback function called twice

2013-07-24 Thread Nemanja Savic
Actually it is not a big deal at all, I am just curious. Yes, I am using WXGui slider. Thank you Tom Nemanja On Wed, Jul 24, 2013 at 5:39 PM, Tom Rondeau wrote: > On Wed, Jul 24, 2013 at 8:51 AM, Nemanja Savic wrote: > > Hi guys, > > > > this is kind of very old thread, but the same problem.

Re: [Discuss-gnuradio] callback function called twice

2013-07-24 Thread Tom Rondeau
On Wed, Jul 24, 2013 at 8:51 AM, Nemanja Savic wrote: > Hi guys, > > this is kind of very old thread, but the same problem. I started changing my > blocks for 3.7.0 and callbacks are called twice. Is there any explanation > for this acting? > > thanks, > Nemanja > > > On Thu, Feb 28, 2013 at 9:53

Re: [Discuss-gnuradio] callback function called twice

2013-07-24 Thread Nemanja Savic
Hi guys, this is kind of very old thread, but the same problem. I started changing my blocks for 3.7.0 and callbacks are called twice. Is there any explanation for this acting? thanks, Nemanja On Thu, Feb 28, 2013 at 9:53 AM, Nemanja Savic wrote: > Was any nonsense in previous post? > > > On

Re: [Discuss-gnuradio] callback function called twice

2013-02-28 Thread Nemanja Savic
Was any nonsense in previous post? On Wed, Feb 27, 2013 at 2:16 PM, Nemanja Savic wrote: > Hi again GNURADIOers, > > I have a set member function which is also used as a callback from GRC. It > looks like this: > > void > test_file_sink::set_sensitivity(double milisecond) > { > d_n_samples

[Discuss-gnuradio] callback function called twice

2013-02-27 Thread Nemanja Savic
Hi again GNURADIOers, I have a set member function which is also used as a callback from GRC. It looks like this: void test_file_sink::set_sensitivity(double milisecond) { d_n_samples = (unsigned int)(milisecond*d_sample_rate/1000.0)*d_itemsize; printf("\nd_n_samples: %d\n", d_n_samples);