[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Discuss-gnuradio] Using static variables in work function of an OOT mod
From: |
Sagar Karmur Narasimha Reddy |
Subject: |
[Discuss-gnuradio] Using static variables in work function of an OOT module. |
Date: |
Mon, 08 Feb 2016 20:11:43 +0100 |
User-agent: |
Horde Application Framework 5 |
Hi All,
I am trying to use two static variables in the work function of
the OOT module I developed one n_samples to keep track of nth sample
where sample power is > -30 dB another static varibale n_start to keep
track of 1st sample where the power is > -30dB. If i try to use these
static variables inside work function of the OOT module I developed it
complies fine. However, if I run my GRC module it throws an error saying
Attribute error: 'module' object has no attribute strend.
I need these static variables to differentiate b/w noise and received
signal in USRP.
Please, let me know to how to use static variables inside a work
function of a OOT module or any pointer where i can study about using
static variables in OOT module. PFA .cc .h and CMakeLists file of my
OOT module.
Best Regards,
Sagar
CMakeLists.txt
Description: Text document
strend_ff_impl.cc
Description: Text Data
strend_ff_impl.h
Description: Text Data
- [Discuss-gnuradio] Using static variables in work function of an OOT module.,
Sagar Karmur Narasimha Reddy <=