[Discuss-gnuradio] gnuradio schedular

2014-06-13 Thread MHMND Herath
Dear sir I experienced that after every 8191 samples variables of blocks becomes 0. What is this 8191 limit?. I showed in gr_scheduler_overwive.pdf, N=2048. Is 2048 number of samples? I noticed that 2048*4=8129. Please explain what 2048 and 8129 Thanks Neil Herath

[Discuss-gnuradio] gnu radio - vhdl

2014-05-27 Thread MHMND Herath
Is there a way to convert c++ blocks and connections to VHDL code for implementing them in digital way Neil ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

[Discuss-gnuradio] for loop int i in block

2014-04-25 Thread MHMND Herath
Dear sir What is the maximum i value in for loop in a c++ block Neil ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

[Discuss-gnuradio] buffer taps

2014-02-09 Thread MHMND Herath
Dear sir I want to implement a buffer. How can I do it? Can I use taps. I wrote it as a queue. first queue.push(); then take queue.front() to remove queue.pop() But i create a segmentation fault (core dumped) Can you explain why? And how to implement queue in a c++ processing block Thanks Neil

[Discuss-gnuradio] delay line

2014-02-02 Thread MHMND Herath
Dear Sir I created a C++ sync block and inserted out[i]=in[i-100] I wanted to get 100th earliest sample continuously. It worked. But I wanted to know will this correct when it connected to a source continuously. Thanks Neil ___ Discuss-gnurad

[Discuss-gnuradio] message passing error

2014-01-25 Thread MHMND Herath
Dear Sir When I trying to implement message passing between 2 blocks called a1_ff and a2_ff following error comes when comiling. I cannot trace it. Thanks Neil - Scanning dependencies of target gnuradio-avg [ 5%] Building CXX object lib/CMakeFiles/gnuradio-

[Discuss-gnuradio] gnuradio message passing

2014-01-23 Thread MHMND Herath
Message passing is described in web site. I do not know where to put codes in c++ sync blocks. Can you please explain how to implement message passing with example. Do we need for loop in work function. How to return noutput_items. Thanks Neil And another thing. How to remove inserted GRC cusome m

[Discuss-gnuradio] how arrays work

2013-12-27 Thread MHMND Herath
I wrote this array under the interp_ff_impl::work(int noutput_items, gr_vector_const_void_star &input_items, gr_vector_void_star &output_items) int f[m]; I could not initialise by int f[m]={0}; block is also not work can we write ar