Re: [Discuss-gnuradio] Fwd: Re: USING SET/GET_GAIN UHD USRP FUNCTION

2014-09-01 Thread Marcus Müller
Hi Simone, use the make function; you can't directly instantiate a GNU Radio block for safety reasons, so the correct way to get one is doing block_name::sptr object_pointer = block_name::make(...); object_pointer->method_name() (-> is always a pointer dereference shortcut, ie. pointer_to_object

[Discuss-gnuradio] Fwd: Re: USING SET/GET_GAIN UHD USRP FUNCTION

2014-09-01 Thread Simone Ciccia S210664
Original Message Subject: Re: [Discuss-gnuradio] USING SET/GET_GAIN UHD USRP FUNCTION Date: Fri, 29 Aug 2014 11:33:03 +0200 From: Simone Ciccia S210664 To: Martin Braun Hi, thank you for the answer. I have created my own gnuradio block and linked the header that contains se