Re: [Discuss-gnuradio] how to use the gnuradio block with c programing

2016-04-19 Thread Marcus Müller
As Tom said, it's almost certain that you shouldn't be calling a block's work() or general_work() manually – that's a severe breach of "contract", because you didn't call check_topology, start, forecast etc before, and unless you know very well what you're doing, you can't be sure none of this is r

Re: [Discuss-gnuradio] how to use the gnuradio block with c programing

2016-04-19 Thread Tom Rondeau
On Mon, Apr 18, 2016 at 10:43 PM, Ekko wrote: > hi Tom > i read the examples in gr-audio/examples/c++, and the examples in > gr-uhd/examples/c++; > these two examples is all use the block in gnuradio,just like the audio > sink,uhd sink. > and i want to multiple the output of the signal source of

Re: [Discuss-gnuradio] how to use the gnuradio block with c programing

2016-04-18 Thread Tom Rondeau
On Mon, Apr 18, 2016 at 3:53 AM, Ekko wrote: > hello all > i want to know how to write a c program with the lib of gnuradio. > for example i want to write a c program,to add a 15HZ sin signal with a > 135HZ sin signal,then send from the usrp. > i know how to send the data to the usrp.but i don't

[Discuss-gnuradio] how to use the gnuradio block with c programing

2016-04-18 Thread Ekko
hello all i want to know how to write a c program with the lib of gnuradio. for example i want to write a c program,to add a 15HZ sin signal with a 135HZ sin signal,then send from the usrp. i know how to send the data to the usrp.but i don't know how to use the signal source and the add fnuction of