Re: [Discuss-gnuradio] Add parameters to a C++ function

2010-11-08 Thread Daniel Dekst
Hi, Thilo, Thanks a lot for your help! We also need to modify the gr_ofdm_frame_sink.i and then it works. Good luck! Best, Pei --- On Mon, 11/8/10, Thilo Mönicke wrote: From: Thilo Mönicke Subject: Re: [Discuss-gnuradio] Add parameters to a C++ function To: "Daniel Dekst" Da

Re: [Discuss-gnuradio] Add parameters to a C++ function

2010-11-08 Thread Josh Blum
On 11/08/2010 12:46 AM, Daniel Dekst wrote: Hi, all, I want to get the subcarrier SNR averaged across the whole packet. So I want to trigger the calculation in gr_ofdm_frame_acquisition.cc from gr_ofdm_frame_sink.cc where the packet header is examined to be correct or not. To achieve this, I

[Discuss-gnuradio] Add parameters to a C++ function

2010-11-08 Thread Daniel Dekst
Hi, all, I want to get the subcarrier SNR averaged across the whole packet. So I want to trigger the calculation in gr_ofdm_frame_acquisition.cc from gr_ofdm_frame_sink.cc where the packet header is examined to be correct or not. To achieve this, I add one parameter to the construction of gr_ofd