Tuesday 13 June 2017

Gnuradio Moving Average Ff


Os scripts de exemplos de rádio GNU falham com ImportError: Nenhum módulo chamado rádio gnu (jmroot (Joshua Root)) Primeiro algumas preliminares: MAC OS X: 10.7.5 (Leão) Instalação de Macports foi excelente instalação de porta sudo gnuradio foi o grande comando instalado na porta mostra python27 E gnu rádio instalado e ativo não gnuradio ou gnuradio arquivos relacionados em python site-pacotes diretórios. Ou em qualquer lugar em árvores de diretório python, incluindo optlocal. Usr. Usuários, sistema. Etc. optlocallib tem muitos gnudynlib. BTW. São as bibliotecas dinâmicas apenas para compilar com CC, etc. ou eles fornecem módulos para intérprete de python Aqui está o env: (6) (26) comentário: 1 Alterado 4 por jmroot (Joshua Root) Lembre-se de Cc o mantenedor e Para visualizar e usar WikiFormatting. Comentário: 2 Alterado há 4 anos por michaelld (Michael Dickens) O que fazer o seguinte retorno: comentário: 3: descrição Alterada há 4 meses por mikem43190 Primeiro algumas preliminares: MAC OS X: 10.7.5 (Leão) A instalação do Macports foi excelente instalação da porta de sudo Gnuradio foi um excelente comando de porta instalado mostra python27 e gnu rádio instalados e ativos não gnuradio ou gnuradio arquivos relacionados em python site-pacotes diretórios. Ou em qualquer lugar em árvores de diretório python, incluindo optlocal. Usr. Usuários, sistema. Etc. optlocallib tem muitos gnudynlib. BTW. São as bibliotecas dinâmicas apenas para compilação com CC, etc. ou eles fornecem módulos para o intérprete de python Aqui está o env: comment: 4 Alterado 4 atrás por mikem43190 Comentário: 11 Alterado 4 atrás por mikem43190 Além do anterior não pode importar scipy ao tentar obter GRC para trabalhar gnu radio-companian Eu não tenho nenhum módulo chamado pygtk. Há um README Estou faltando. Odeio ter vários problemas, especialmente como iniciante, onde não estou configurando o ambiente de forma correta. Por exemplo, eu vi uma referência ao DYLDLIBRARYPATH, mas depois de pesquisar não posso dizer se devo configurá-lo e para o que. Aqui está a lista de portas sudo instalada atualmente: comentário: 12 Alterado 4 atrás por michaelld (Michael Dickens) OK parece 1 passo em frente. Eu acho que há uma dependência ou 2 faltam que eu vou verificá-lo hoje à noite. Comentário: 13 Alterado há 4 meses por michaelld (Michael Dickens) Em primeiro lugar, alguns comentários, para iniciantes ou especialistas usando o MacPorts e o GNU Radio: uma vez instalado pelo MacPorts, todo o GNU Radio deve funcionar sem definir as variáveis ​​do ambiente do shell. No seu ambiente de shell, PYTHONPATH deve apontar para o diretório pythonX. Y, que geralmente está dentro da lib. Então, por exemplo, a primeira entrada de optlocallib deve ser realmente optlocallibpython2.7 idem para o resto. MacPorts Python 2.7 já define seu PYTHONPATH interno para incluir optlocallibpython2.7 e optlocalLibraryFrameworksPython. frameworkVersions2.7libpython2.7, portanto, você não precisa incluir aqueles em seus ambientes shell PYTHONPATH. E, na verdade, você nem precisa definir o PYTHONPATH se estiver usando o MacPorts, desde o Python. Você precisa apenas para instalações não fornecidas pelo MacPorts. Eu - altamente recomendado contra o uso de DYLDLIBRARYPATH ou qualquer outra variável de ambiente de shell DYLD, exceto para fins de teste (por exemplo, faça teste em alguns projetos, depois de construir, mas antes da instalação). Se você definir o DYLDLIBRARYPATH no seu ambiente de shell, é provável que você faça uma execução do programa em algum lugar abaixo da linha e, na verdade, dificilmente arruinar esse tipo de problemas. Comentário: 14 Alterado 4 atrás por michaelld (Michael Dickens) py-scipy não é uma dependência do GNU Radio, uma vez que é usado para exemplos de tempo de execução, apenas o adicionaremos no próximo check-in, o que deve ser real em breve agora com o próximo 3.6.3 lançamento. Entretanto, você pode instalá-lo sozinho via sudo port install py27-scipy. Comentário: 15 Alterado 4 atrás por michaelld (Michael Dickens) Pelo que você escreveu, parece que o gnuradio-companheiro não está executando corretamente, sim. Você pode anexar a saída do terminal de tentar executá-lo. Comentário: 16 Alterado 4 atrás por mikem43190 Eu não posso Encontre o gnuradio-companheiro, exceto para um arquivo de configuração. Não. grc, sem gnuradio-companheiro, sem grc. py, sem gnuradio-companion. pyc, etc. Naturalmente, entrar em grc ou grc-companheiro no terminal (Bash) resulta no comando não encontrado. De alguma forma, eu acho que a porta do gunradio é de alguma forma pular muitas coisas. Então, como eu não tenho uma lista dos arquivos que devem ser instalados e onde e eu sou novo no GNU Radio e Python, eu tenho que operar em premissas, como deve haver um executável como Mencionado acima. Sendo novo, tentei os scripts de amostra, mas como todos eles falham (exceto aqueles que trabalham com python genérico no mac) com algo ou outro é um pouco mais difícil. Assim. Para nos ajudar a descobrir o porquê desinstalado todos os portos e macports e reinstalado de forma limpa sem alterar nada. Eu anexei arquivos da seguinte maneira: env. txt env gt env. txt opt-list. txt ls - Rl opt gt opt-list. txt python sys path. txt em python, print sys. path python-v. txt python - v Gt python-v. txt sudo-installed. txt sudo port instalado gtsudo-installed. txt which-python. txt qual python gt which-python. txt Espero que isso nos ajude ambos. Eu realmente não entendo o que no meu ambiente MAC OS causaria tanto para não funcionar. Obrigado por toda a ajuda, Sinceramente comentário de Michael: 17 Alterado há 4 anos por michaelld (Michael Dickens) Eu acho que isso irá resolver seus problemas. Comentário: 18 Alterado há 4 meses por michaelld (Michael Dickens) O ambiente do shell do terminal Mac OS X (bash) é tão complexo quanto o de qualquer outro UNIX e Linux. A Apple adicionou algumas variáveis ​​de ambiente para ajudar a usar Frameworks para fins de depuração. Mas essas mesmas variáveis ​​de ambiente podem realmente prejudicar as coisas durante o uso normal do Mac OS X. As variáveis ​​são diferentes das usadas no Linux, mas o mesmo conceito existe e, na verdade, é um pouco mais estranho de usar. Então, por que as conchas causam tanto para não trabalhar Flexibilidade e depuração, suponho. Comentário: 19 Alterado há 4 meses por mikem43190 Anfitrião tentando instalar o GNURadio. Este tópico pode ajudar a comentar: 20 Alterado há 4 anos por michaelld (Michael Dickens) Excelente Você é bem-vindo, obrigado pelos seus esforços e respostas oportunas. O GNU Radio 3.6.3 foi lançado ontem. Eu acabei de atualizar esta porta em r101353 para incluir esta nova versão, além de adicionar uma dependência de tempo de execução em breve. : TracTickets. gnuradio. gr: Filtros gnuradio. gr. Fftfilterccc (int decimation. Std :: vectorlt (grcomplex. Std :: allocatorlt (grcomplex) gt) gt taps. Int nthreads 1) rarr grfftfiltercccsptr Filtro Fast FFT com entrada grcomplex, saída grcomplex e torneiras grcomplex. Grfftfiltercccsptr. Settaps (self. Std :: vectorlt (grcomplex. Std :: allocatorlt (grcomplex) gt) gt taps) grfftfiltercccsptr. Taps (self) rarr std :: vectorlt (grcomplex, std :: allocatorlt (grcomplex) gt) gt gnuradio. gr. Fftfilterfff (int dizimação. Torneiras do flutuador. Int nthreads 1) rarr grfftfilterfffsptr Filtro Fast FFT com entrada flutuante, saída flutuante e torneiras flutuantes. Bloco de combinação de atraso de filtro. O bloco leva um ou dois fluxos flutuantes e produz um fluxo complexo. Se apenas um fluxo flutuante for inserido, a saída real é uma versão atrasada dessa entrada e a saída imaginária é a saída filtrada. Se dois flutuadores estiverem conectados à entrada, então a saída real é a versão atrasada da primeira entrada e a saída imaginária é a saída filtrada. O atraso no caminho real explica o atraso do grupo introduzido pelo filtro no caminho imaginário. As torneiras de filtro precisam ser calculadas antes de inicializar este bloco. Gnuradio. gr. Firfilterccc (int decimation. Std :: vectorlt (grcomplex. Std :: allocatorlt (grcomplex) gt) gt taps) rarr grfirfiltercccsptr FIR filtro com entrada grcomplex, saída grcomplex e torneiras grcomplex. Grfirfiltercccsptr. Settaps (self. Std :: vectorlt (grcomplex. Std :: allocatorlt (grcomplex) gt) gt taps) grfirfiltercccsptr. Taps (self) rarr std :: vectorlt (grcomplex, std :: allocatorlt (grcomplex) gt) gt gnuradio. gr. Firfilterccf (int dizimação. Torneiras de flutuador) rarr grfirfilterccfsptr Filtro FIR com entrada grcomplex, saída grcomplex e torneiras flutuantes. Grfirfilterccfsptr. Settaps (torneiras de flutuador próprio) grfirfilterccfsptr. Taps (self) rarr floatvector gnuradio. gr. Firfilterfcc (int decimation. Std :: vectorlt (grcomplex. Std :: allocatorlt (grcomplex) gt) gt taps) rarr grfirfilterfccsptr Filtro FIR com entrada flutuante, saída grcomplex e torneiras grcomplex. Grfirfilterfccsptr. Settaps (self. Std :: vectorlt (grcomplex. Std :: allocatorlt (grcomplex) gt) gt taps) grfirfilterfccsptr. Taps (self) rarr std :: vectorlt (grcomplex, std :: allocatorlt (grcomplex) gt) gt gnuradio. gr. Firfilterfff (int decimation. Torneiras do flutuador) rarr grfirfilterfffsptr Filtro FIR com entrada flutuante, saída flutuante e torneiras flutuantes. Filtro FIR com entrada flutuante, saída curta e torneiras flutuantes. Grfirfilterfsfsptr. Settaps (torneiras de flutuador próprio) grfirfilterfsfsptr. Taps (self) rarr floatvector gnuradio. gr. Firfilterscc (int decimation. Std :: vectorlt (grcomplex. Std :: allocatorlt (grcomplex) gt) gt taps) rarr grfirfiltersccsptr Filtro FIR com entrada curta, saída grcomplex e torneiras grcomplex. Grfirfiltersccsptr. Settaps (self. Std :: vectorlt (grcomplex. Std :: allocatorlt (grcomplex) gt) gt taps) grfirfiltersccsptr. Taps (self) rarr std :: vectorlt (grcomplex, std :: allocatorlt (grcomplex) gt) gt gnuradio. gr. Fractionalinterpolatorcc (flutuante phaseshift. Float interpratio) rarr grfractionalinterpolatorccsptr Interpolando o filtro mmse com entrada grcomplex, saída grcomplex. Grfractionalinterpolatorccsptr. Interpratio (self) rarr float grfractionalinterpolatorccsptr. Mu (self) rarr float grfractionalinterpolatorccsptr. Setinterpratio (self-float interpratio) grfractionalinterpolatorccsptr. Setmu (self. Float mu) gnuradio. gr. Interpolação fracionada (variação de fases do flutuador. Interpolação do flutuador) rarr grfractionalinterpolatorffsptr Filtro mmse interpolado com entrada flutuante, saída flutuante. Grfractionalinterpolatorffsptr. Interpratio (self) rarr float grfractionalinterpolatorffsptr. Mu (self) rarr float grfractionalinterpolatorffsptr. Setinterpratio (self-float interpratio) grfractionalinterpolatorffsptr. Setmu (self. Float mu) gnuradio. gr. Freqxlatingfirfilterccc (int decimation. Std :: vectorlt (grcomplex. Std :: allocatorlt (grcomplex) gt) gt torneiras. Doublefreck. Double samplingfreq) rarr grfreqxlatingfirfiltercccsptr FIR filtro combinado com tradução de freqüência com entrada grcomplex, saída grcomplex e torneiras grcomplex Esta classe de forma eficiente Combina uma tradução de frequência (tipicamente 8220down conversion8221) com um filtro FIR (tipicamente passe baixo) e decimação. É ideal para um filtro de seleção 8220channel8221 e pode ser usado eficientemente para selecionar e decimar um sinal de banda estreita com entrada de largura de banda ampla. Usa uma única matriz de entrada para produzir uma matriz de saída única. As entradas e saídas adicionais são ignoradas. Construa um filtro FIR com as torneiras fornecidas e uma tradução de freqüência composta que mude o centrofreq para baixo para zero Hz. A tradução de freqüência vem logicamente antes da operação de filtragem. Grfreqxlatingfirfiltercccsptr. Setcenterfreq (self. Double centerfreq) grfreqxlatingfirfiltercccsptr. Settaps (auto. Std :: vectorlt (grcomplex. Std :: allocatorlt (grcomplex) gt) gt taps) gnuradio. gr. Freqxlatingfirfilterccf (int dizimação. Torneiras de flutuador. Ferfiltrocfcfcfpfpfpftrf) O filtro FIR combinado com conversão de freqüência com entrada grcomplex, saída grcomplex e torneiras flutuantes Esta classe combina eficientemente uma tradução de freqüência (normalmente conversão 8220down8221) com um filtro FIR (tipicamente baixo Passe) e dizimação. É ideal para um filtro de seleção 8220channel8221 e pode ser usado eficientemente para selecionar e decimar um sinal de banda estreita com entrada de largura de banda ampla. Usa uma única matriz de entrada para produzir uma matriz de saída única. As entradas e saídas adicionais são ignoradas. Construa um filtro FIR com as torneiras fornecidas e uma tradução de freqüência composta que mude o centrofreq para baixo para zero Hz. A tradução de freqüência vem logicamente antes da operação de filtragem. Grfreqxlatingfirfilterccfsptr. Setcenterfreq (self. Double centerfreq) grfreqxlatingfirfilterccfsptr. Settaps (torneiras de flutuador) gnuradio. gr. Freqxlatingfirfilterfcc (int dizimação. Std :: vectorlt (grcomplex. Std :: allocatorlt (grcomplex) gt) gt torneiras. Doublefreck. Double samplingfreq) rarr grfreqxlatingfirfilterfccsptr FIR filtro combinado com conversão de freqüência com entrada flutuante, saída grcomplex e torneiras grcomplex Esta classe de forma eficiente Combina uma tradução de frequência (tipicamente 8220down conversion8221) com um filtro FIR (tipicamente passe baixo) e decimação. É ideal para um filtro de seleção 8220channel8221 e pode ser usado eficientemente para selecionar e decimar um sinal de banda estreita com entrada de largura de banda ampla. Usa uma única matriz de entrada para produzir uma matriz de saída única. As entradas e saídas adicionais são ignoradas. Construa um filtro FIR com as torneiras fornecidas e uma tradução de freqüência composta que mude o centrofreq para baixo para zero Hz. A tradução de freqüência vem logicamente antes da operação de filtragem. Grfreqxlatingfirfilterfccsptr. Setcenterfreq (self. Double centerfreq) grfreqxlatingfirfilterfccsptr. Settaps (auto. Std :: vectorlt (grcomplex. Std :: allocatorlt (grcomplex) gt) gt taps) gnuradio. gr. Freqxlatingfirfilterfcf (int dizimação, flutuador, torneiras, duplo fatorfreckffrefilterfcfsptr) Filtro FIR combinado com tradução de freqüência com entrada flutuante, saída grcomplex e torneiras flutuantes Esta classe combina eficientemente uma conversão de freqüência (tipicamente conversão 8220down8221) com um filtro FIR (tipicamente baixo Passe) e dizimação. É ideal para um filtro de seleção 8220channel8221 e pode ser usado eficientemente para selecionar e decimar um sinal de banda estreita com entrada de largura de banda ampla. Usa uma única matriz de entrada para produzir uma matriz de saída única. As entradas e saídas adicionais são ignoradas. Construa um filtro FIR com as torneiras fornecidas e uma tradução de freqüência composta que mude o centrofreq para baixo para zero Hz. A tradução de freqüência vem logicamente antes da operação de filtragem. Grfreqxlatingfirfilterfcfsptr. Setcenterfreq (self. Double centerfreq) grfreqxlatingfirfilterfcfsptr. Settaps (torneiras de flutuador) gnuradio. gr. Freqxlatingfirfilterscc (int dizimação. Std :: vectorlt (grcomplex. Std :: allocatorlt (grcomplex) gt) gt torções. Doublefrefowfreck. Double samplingfreq) rarr grfreqxlatingfirfiltersccsptr filtro FIR combinado com tradução de freqüência com entrada curta, saída grcomplex e torneiras grcomplex Esta classe de forma eficiente Combina uma tradução de frequência (tipicamente 8220down conversion8221) com um filtro FIR (tipicamente passe baixo) e decimação. É ideal para um filtro de seleção 8220channel8221 e pode ser usado eficientemente para selecionar e decimar um sinal de banda estreita com entrada de largura de banda ampla. Usa uma única matriz de entrada para produzir uma matriz de saída única. As entradas e saídas adicionais são ignoradas. Construa um filtro FIR com as torneiras fornecidas e uma tradução de freqüência composta que mude o centrofreq para baixo para zero Hz. A tradução de freqüência vem logicamente antes da operação de filtragem. Grfreqxlatingfirfiltersccsptr. Setcenterfreq (self. Double centerfreq) grfreqxlatingfirfiltersccsptr. Settaps (auto. Std :: vectorlt (grcomplex. Std :: allocatorlt (grcomplex) gt) gt taps) gnuradio. gr. Freqxlatingfirfilterscf (int dizimação. Torneiras de flutuador, duplo fator de descarga centralfreq) rarr grfreqxlatingfirfilterscfsptr Filtro FIR combinado com conversão de freqüência com entrada curta, saída grcomplex e torneiras flutuantes Esta classe combina eficientemente uma tradução de freqüência (tipicamente conversão 8220down8221) com um filtro FIR (tipicamente baixo Passe) e dizimação. É ideal para um filtro de seleção 8220channel8221 e pode ser usado eficientemente para selecionar e decimar um sinal de banda estreita com entrada de largura de banda ampla. Usa uma única matriz de entrada para produzir uma matriz de saída única. As entradas e saídas adicionais são ignoradas. Construa um filtro FIR com as torneiras fornecidas e uma tradução de freqüência composta que mude o centrofreq para baixo para zero Hz. A tradução de freqüência vem logicamente antes da operação de filtragem. Grfreqxlatingfirfilterscfsptr. Setcenterfreq (self. Double centerfreq) grfreqxlatingfirfilterscfsptr. Settaps (torneiras de flutuador) gnuradio. gr. Hilbertfc (unsigned int ntaps) rarr grhilbertfcsptr saída real é entrada devidamente adiada. A saída imaginária é filtrada por hilbert (versão de fase de 90 graus) da entrada. Gnuradio. gr. Filtro IIR com entrada flutuante, saída flutuante e torneiras duplas Este filtro usa a implementação Direct Form I, onde contém as torneiras feed-forward e as respostas. A entrada e a saída satisfazem uma equação de diferença da forma yn-sum ak yn-k soma bk xn-k com a função do sistema racional correspondente Observe que alguns textos definem a função do sistema com a no denominador. Se você estiver usando essa convenção, you8217ll precisa negar as batidas de feedback. Griirfilterffdsptr. Settaps (autovectorial fftaps. Doublevector fbtaps) gnuradio. gr. Interpfirfilterccc (int interpolação. Std :: vectorlt (grcomplex. Std :: allocatorlt (grcomplex) gt) gt taps) rarr grinterpfirfiltercccsptr Interpolando o filtro FIR com entrada grcomplex, saída grcomplex e torneiras grcomplex. Grinterpfirfiltercccsptr. Settaps (auto. Std :: vectorlt (grcomplex. Std :: allocatorlt (grcomplex) gt) gt taps) gnuradio. gr. Interpfirfilterccf (int interpolação. Torneiras do flutuador) rarr grinterpfirfilterccfsptr Interpolação do filtro FIR com entrada grcomplex, saída grcomplex e torneiras flutuantes. Grinterpfirfilterccfsptr. Settaps (torneiras de flutuador) gnuradio. gr. Interpfirfilterfcc (int interpolação. Std :: vectorlt (grcomplex. Std :: allocatorlt (grcomplex) gt) gt taps) rarr grinterpfirfilterfccsptr Interpolando o filtro FIR com entrada flutuante, saída grcomplex e torneiras grcomplex. Grinterpfirfilterfccsptr. Settaps (auto. Std :: vectorlt (grcomplex. Std :: allocatorlt (grcomplex) gt) gt taps) gnuradio. gr. Interpfirfilterfff (interpolação int. Torneiras de flutuador) rarr grinterpfirfilterfffsptr Interpolação do filtro FIR com entrada flutuante, saída flutuante e torneiras flutuantes. Grinterpfirfilterfffsptr. Settaps (torneiras de flutuador) gnuradio. gr. Interpfirfilterfsf (interpolação int. Torneiras de flutuador) rarr grinterpfirfilterfsfsptr Interpolação de filtro FIR com entrada flutuante, saída curta e torneiras flutuantes. Grinterpfirfilterfsfsptr. Settaps (torneiras de flutuador) gnuradio. gr. Interpfirfilterscc (int interpolação. Std :: vectorlt (grcomplex. Std :: allocatorlt (grcomplex) gt) gt taps) rarr grinterpfirfiltersccsptr Interpolando o filtro FIR com entrada curta, saída grcomplex e torneiras grcomplex. Grinterpfirfiltersccsptr. Settaps (auto. Std :: vectorlt (grcomplex. Std :: allocatorlt (grcomplex) gt) gt taps) gnuradio. gr. Rational Resampling Filtro FIR Polyphase com entrada grcomplex, saída grcomplex e torneiras grcomplex (int interpolation. Int decimation. Std :: vectorlt (grcomplex. Std :: allocatorlt (grcomplex) gt) gt taps) rarr grrationalresamplerbasecccsptr Rational Resampling Filtro polyphase FIR com entrada grcomplex, saída grcomplex e torneiras grcomplex. Grrationalresamplerbasecccsptr. Settaps (auto. Std :: vectorlt (grcomplex. Std :: allocatorlt (grcomplex) gt) gt taps) gnuradio. gr. Rationalresamplerbaseccf (int interpolation. Int dizimação. Torneiras de flutuador) rarr grrationalresamplerbaseccfsptr Rational Resampling Filtro FIR Polyphase com entrada grcomplex, saída grcomplex e torneiras flutuantes. Grrationalresamplerbaseccfsptr. Settaps (torneiras de flutuador) gnuradio. gr. Rationalresamplerbasefcc (int interpolação. Int decimation. Std :: vectorlt (grcomplex. Std :: allocatorlt (grcomplex) gt) gt taps) rarr grrationalresamplerbasefccsptr Rational Resampling Filtro polyphase FIR com entrada flutuante, saída grcomplex e torneiras grcomplex. Grrationalresamplerbasefccsptr. Settaps (auto. Std :: vectorlt (grcomplex. Std :: allocatorlt (grcomplex) gt) gt taps) gnuradio. gr. Rationalresamplerbasefff (int interpolação. Int decimação. Torneiras do flutuador) rarr grrationalresamplerbasefffsptr Rational Resampling Filtro FIR Polyphase com entrada flutuante, saída flutuante e torneiras flutuantes. Grumpalresamplerbasefffsptr. Settaps (torneiras de flutuador) gnuradio. gr. Rationalresamplerbasefsf (int interpolação. Int decimation. Flutuador de torções) rarr grrationalresamplerbasefsfstr. Rational Resampling Polyphase FIR filtro com entrada de flutuador, saída curta e flutuação de torneiras. Grrationalresamplerbasefsfsptr. Settaps (torneiras de flutuador) gnuradio. gr. Rationalresamplerbasescc (int interpolação. Int decimation. Std :: vectorlt (grcomplex. Std :: allocatorlt (grcomplex) gt) gt taps) rarr grrationalresamplerbasesccsptr Rational Resampling Polyphase FIR filtro com entrada curta, saída grcomplex e torneiras grcomplex. Grumpelresamplerbasesccsptr. Settaps (auto. Std :: vectorlt (grcomplex. Std :: allocatorlt (grcomplex) gt) gt taps) gnuradio. gr. Singlepoleiirfiltercc (double alpha. Unsigned int vlen 1) rarr grsinglepoleiirfilterccsptr filtro de um pólo IIR com entrada complexa, saída complexa A entrada e saída satisfazem uma equação de diferença da forma yn - (1-alfa) yn-1 alfa xn com o sistema racional correspondente Função Note que alguns textos definem a função do sistema com a no denominador. Se você estiver usando essa convenção, you8217ll precisa negar a resposta toque. Grsinglepoleiirfilterccsptr. Settaps (self. Double alpha) gnuradio. gr. Singlepoleiirfilterff (double alpha, unsigned int vlen 1) rarr grsinglepoleiirfilterffsptr filtro de um único pólo IIR com entrada flutuante, saída flutuante A entrada e saída satisfazem uma equação de diferença da forma yn - (1-alfa) yn-1 alfa xn com o sistema racional correspondente Função Note que alguns textos definem a função do sistema com a no denominador. Se você estiver usando essa convenção, you8217ll precisa negar a resposta toque. Grsinglepoleiirfilterffsptr. Settaps (self. Double alpha) gnuradio. gr. Moveaveragecc (int length. grcomplex scale. Int maxiter 4096) rarr grmovingaverageccsptr output é a soma móvel das últimas N amostras, escaladas pelo fator de escala maxiter limites quanto tempo nós vamos sem descarga o acumulador Isso é necessário para evitar a instabilidade numérica para flutuador e complexo. Grmovingaverageccsptr. Comprimento (auto) rarr int grmovingaverageccsptr. Escala (auto-) rarr grcomplex grmovingaverageccsptr. Setlengthandscale (tamanho de auto. Int. Escala grcomplex) gnuradio. gr. Mudança de tamanho (comprimento do int. Escala do flutuador) int maxiter 4096) rarr grmovingaverageffsptr saída é a soma móvel das últimas N amostras, escaladas pelo fator de escala limites maxiter quanto tempo vamos sem descarga o acumulador Isso é necessário para evitar a instabilidade numérica para flutuador e complexo. A saída é a soma móvel das últimas N amostras, escaladas pelo fator de escala limites maxiter quanto tempo vamos sem limpar o acumulador Isso é necessário para evitar instabilidade numérica para flutuador e complexo. A saída é a soma móvel das últimas N amostras, escaladas pelo fator de escala limites maxiter quanto tempo vamos sem limpar o acumulador Isso é necessário para evitar instabilidade numérica para flutuador e complexo. Grmovingaveragesssptr. Comprimento (auto) rarr int grmovingaveragesssptr. Escala (auto) rarr short grmovingaveragesssptr. Setlengthandscale (auto. Int length. Short scale) gnuradio. gr. Pfbarbresamplerccf (taxa de flutuação, torneiras de flutuador, filtragem int não assinada 32) rarr grpfbarbresamplerccfsptr Resplificador arbitrário de banco de filtros polifásico com entrada grcomplex, saída grcomplex e torneiras flutuantes. Este bloco leva um fluxo de sinal e executa uma reamostragem arbitrária. A taxa de remate pode ser qualquer número real. O reescalonamento é feito construindo filtros onde é a taxa de interpolação. Em seguida, calculamos onde. Usando e. Podemos realizar uma reamalamensão racional onde é um número racional próximo da taxa de entrada onde temos filtros e nós os atravessamos como um banco de filtros polifásico com um passo de tal forma. Para obter a taxa arbitrária, queremos interpolar entre dois pontos. Para cada valor, tiramos um resultado do filtro atual. E o próximo filtro e depois interpolam linearmente entre os dois com base na taxa de re-amostragem real que queremos. A interpolação linear apenas nos fornece uma aproximação da taxa de amostragem real especificada. O erro é um erro de quantificação entre os dois filtros que usamos como nossos pontos de interpolação. Para este fim, o número de filtros. Usado determina o erro de quantização maior. Menor o ruído. Você pode projetar para um nível de ruído especificado, definindo o tamanho do filtro (parâmetros). O tamanho padrão é 32 filtros, o que é tão bom quanto a maioria das implementações precisam. O truque com o design deste filtro é sobre como especificar as torneiras do protótipo de filtro. Como o interpolador PFB, as torneiras são especificadas usando a taxa de filtro interpolada. Nesse caso, essa taxa é a taxa de amostragem de entrada multiplicada pelo número de filtros no banco de filtros, que também é a taxa de interpolação. Todos os outros valores devem ser relativos a essa taxa. Por exemplo, para um resamplificador arbitrário de 32 filtros e usando o utilitário GNU Radio8217s firdes para construir o filtro, criamos um filtro passa-baixa com uma taxa de amostragem de. Uma largura de banda de 3 dB e uma largura de banda de transição de. Também podemos especificar a atenuação fora de banda para usar. E a função da janela do filtro (uma janela Blackman-harris neste caso). A primeira entrada é o ganho do filtro, que especificamos aqui como a taxa de interpolação (). A teoria por trás desse bloco pode ser encontrada no capítulo 7.5 do seguinte livro. Crie o resamplificador de arbitraçao de banco de filtros polifásico. Imprima todas as torneiras do banco de filtros na tela. Grpfbarbresamplerccfsptr. Setrate (self. Float rate) gnuradio. gr. Pfbchannelizerccf (unsigned int numchans. Torneiras de flutuador. Float oversamplerate 1) rarr grpfbchannelizerccfsptr Mecanizador de banco de filtros em polifase com entrada grcomplex, saída grcomplex e torneiras flutuantes. Este bloco possui entradas complexas e canaliza-lo para canais de largura de banda igual. Cada um dos canais resultantes é dizimado à nova taxa que é a taxa de amostragem de entrada dividida pelo número de canais. O código do canalizador PFB leva as torneiras geradas acima e cria um conjunto de filtros. O conjunto contém um número de filtros e cada filtro contém um número de torneiras (taps. size () decim). Cada toque do protótipo do filtro é inserido seqüencialmente no próximo filtro. Quando todas as torneiras de entrada são usadas, os filtros restantes no banco de filtros são preenchidos com 08217s para garantir que cada filtro tenha o mesmo número de torneiras. Cada filtro opera usando as classes de filtro grfir do GNU Radio, que leva o fluxo de entrada e executa o cálculo interno do produto para onde está o número de torneiras de filtro. Para gerenciar eficientemente isso na estrutura de Rádio GNU, cada entrada de filtro deve vir de seu próprio fluxo de entrada. Portanto, o canalizador deve ser fornecido com fluxos onde o fluxo de entrada foi desintercalado. Isso é mais fácil de usar usando o bloco grstreamtostreams. A saída é então produzida como um vetor, onde o índice no vetor é a próxima amostra do canal th. Isso é mais facilmente manuseado enviando a saída para um bloco grvectortostreams para lidar com a conversão e a passagem de fluxos. A formatação de entrada e saída é feita usando um hierblock2 chamado pfbchannelizerccf. Isso pode levar em um único fluxo e gerar fluxos com base no comportamento descrito acima. Os toques do filtro8217s devem ser baseados na taxa de amostragem de entrada. Por exemplo, usando o utilitário GNU Radio8217s firdes para a construção de filtros, criamos um filtro passa-baixa com uma taxa de amostragem de. Uma largura de banda de 3 dB e uma largura de banda de transição de. Também podemos especificar a atenuação fora de banda para usar. E a função da janela do filtro (uma janela Blackman-harris neste caso). A primeira entrada é o ganho do filtro, que especificamos aqui como unidade. A saída do filtro também pode ser ampliada. A taxa de amostragem excedente é a proporção da taxa de amostragem de saída real para a taxa de amostragem de saída normal. Deve ser racionalmente relacionado ao número de canais como Ni para i em 1, N, o que fornece uma taxa amostral de fsN, fs onde fs é a taxa de amostragem de entrada e N é o número de canais. Por exemplo, para 6 canais com fs 6000 Hz, a taxa normal é 60006 1000 Hz. As taxas de sobreaplicação permitidas são 66, 65, 64, 63, 62 e 61, onde a taxa de amostra de saída de uma relação de oversample 61 é de 6000 Hz, ou 6 vezes a 1000 Hz normal. Uma taxa de 65 1,2, de modo que a taxa de saída seria de 1200 Hz. A teoria por trás desse bloco pode ser encontrada no Capítulo 6 do seguinte livro. Construa o decimador de banco de filtros polifásico. Por exemplo, para 6 canais com fs 6000 Hz, a taxa normal é 60006 1000 Hz. As taxas de sobreaplicação permitidas são 66, 65, 64, 63, 62 e 61, onde a taxa de amostra de saída de uma relação de oversample 61 é de 6000 Hz, ou 6 vezes a 1000 Hz normal. Restaura as torneiras do filtro filterbank8217s com o novo protótipo de filtro gnuradio. gr. Pfbclocksyncccf (sps duplo. Float loopbw. Torneiras de flutuador. Filtros de filtros não assinados 32. float initphase 0. float maxratedeviation 1.5. Int osps 1) rarr grpfbclocksyncccfsptr Sincronizador de tempo usando bancos de filtros polifásicos. Este bloco executa sincronização de temporização para sinais PAM minimizando a derivada do sinal filtrado, que por sua vez maximiza o SNR e minimiza o ISI. Esta abordagem funciona configurando dois bancos de filtros. Um banco de filtros contém o filtro correspondente de moldagem de impulsos do sinal8217s (como um filtro de coseno subido por raiz), onde cada ramo do banco de filtros contém uma fase diferente do filtro. O segundo banco de filtros contém os derivados dos filtros no primeiro banco de filtros. Pensando nisso no domínio do tempo, o primeiro banco de filtros contém filtros que têm uma forma sinc. Queremos alinhar o sinal de saída a ser amostrado exatamente no pico da forma sinc. A derivada do sinc contém um zero no ponto máximo do sinc (sinc (0) 1, sinc (0) 8217 0). Além disso, a região ao redor do ponto zero é relativamente linear. Utilizamos esse fato para gerar o sinal de erro. Se o sinal dos filtros derivados for din para o i-ésimo filtro, e a saída do filtro correspondente é xin, calculamos o erro como: en (Re Re Im Im) 2.0 Esta equação projeta o erro nas partes real e imaginária . Há duas razões pelas quais nós multiplicamos pelo próprio sinal. Primeiro, se o símbolo puder ser positivo ou negativo, mas queremos que o termo de erro sempre nos diga para ir na mesma direção dependendo do lado do ponto zero em que estamos. O sinal de xin ajusta o termo de erro para fazer isso. Em segundo lugar, a magnitude de xin escala o termo de erro dependendo da amplitude do simbolo 8217, então os sinais maiores nos dão um termo de erro mais forte porque temos mais confiança nesse valor do simbolo 8217s. Usar a magnitude de xin em vez de apenas o sinal é especialmente bom para sinais com baixo SNR. The error signal, en, gives us a value proportional to how far away from the zero point we are in the derivative signal. We want to drive this value to zero, so we set up a second order loop. We have two variables for this loop dk is the filter number in the filterbank we are on and drate is the rate which we travel through the filters in the steady state. That is, due to the natural clock differences between the transmitter and receiver, drate represents that difference and would traverse the filter phase paths to keep the receiver locked. Thinking of this as a second-order PLL, the drate is the frequency and dk is the phase. So we update drate and dk using the standard loop equations based on two error signals, dalpha and dbeta. We have these two values set based on each other for a critically damped system, so in the block constructor, we just ask for 8220gain,8221 which is dalpha while dbeta is equal to (gain2)4. The block8217s parameters are: Build the polyphase filterbank timing synchronizer. Returns the loop gain alpha. Returns the loop gain beta. grpfbclocksyncccfsptr. getchanneltaps ( self . int channel ) rarr floatvector Returns the taps of the matched filter for a particular channel Returns the current clock rate. grpfbclocksyncccfsptr. getdampingfactor ( self ) rarr float Returns the loop damping factor. grpfbclocksyncccfsptr. getdiffchanneltaps ( self . int channel ) rarr floatvector Returns the taps in the derivative filter for a particular channel grpfbclocksyncccfsptr. getdifftaps ( self ) rarr dummy5 Returns all of the taps of the derivative filter grpfbclocksyncccfsptr. getdifftapsasstring ( self ) rarr string Return the derivative filter taps as a formatted string for printing grpfbclocksyncccfsptr. getloopbandwidth ( self ) rarr float Returns the loop bandwidth. Returns all of the taps of the matched filter grpfbclocksyncccfsptr. gettapsasstring ( self ) rarr string Return the taps as a formatted string for printing Set the loop gain alpha. Set8217s the loop filter8217s alpha gain parameter. This value should really only be set by adjusting the loop bandwidth and damping factor. Set the loop gain beta. Set8217s the loop filter8217s beta gain parameter. This value should really only be set by adjusting the loop bandwidth and damping factor. Set the loop damping factor. Set the loop filter8217s damping factor to. The damping factor should be sqrt(2)2.0 for critically damped systems. Set it to anything else only if you know what you are doing. It must be a number between 0 and 1. When a new damping factor is set, the gains, alpha and beta, of the loop are recalculated by a call to updategains(). Set the loop bandwidth. Set the loop filter8217s bandwidth to. This should be between 2pi200 and 2pi100 (in radssamp). It must also be a positive number. When a new damping factor is set, the gains, alpha and beta, of the loop are recalculated by a call to updategains(). Set the maximum deviation from 0 drate can have grpfbclocksyncccfsptr. settaps ( self . floatvector taps . dummy5 ourtaps . std::vectorlt(p. grfirccf . std::allocatorlt(p. grfirccf)gt)gt ourfilter ) Resets the filterbank8217s filter taps with the new prototype filter gnuradio. gr. pfbclocksyncfff ( double sps . float gain . floatvector taps . unsigned int filtersize 32 . float initphase 0 . float maxratedeviation 1.5 ) rarr grpfbclocksyncfffsptr Timing synchronizer using polyphase filterbanks. This block performs timing synchronization for PAM signals by minimizing the derivative of the filtered signal, which in turn maximizes the SNR and minimizes ISI. This approach works by setting up two filterbanks one filterbank contains the signal8217s pulse shaping matched filter (such as a root raised cosine filter), where each branch of the filterbank contains a different phase of the filter. The second filterbank contains the derivatives of the filters in the first filterbank. Thinking of this in the time domain, the first filterbank contains filters that have a sinc shape to them. We want to align the output signal to be sampled at exactly the peak of the sinc shape. The derivative of the sinc contains a zero at the maximum point of the sinc (sinc(0) 1, sinc(0)8217 0). Furthermore, the region around the zero point is relatively linear. We make use of this fact to generate the error signal. If the signal out of the derivative filters is din for the ith filter, and the output of the matched filter is xin, we calculate the error as: en (Re Re Im Im ) 2.0 This equation averages the error in the real and imaginary parts. There are two reasons we multiply by the signal itself. First, if the symbol could be positive or negative going, but we want the error term to always tell us to go in the same direction depending on which side of the zero point we are on. The sign of xin adjusts the error term to do this. Second, the magnitude of xin scales the error term depending on the symbol8217s amplitude, so larger signals give us a stronger error term because we have more confidence in that symbol8217s value. Using the magnitude of xin instead of just the sign is especially good for signals with low SNR. The error signal, en, gives us a value proportional to how far away from the zero point we are in the derivative signal. We want to drive this value to zero, so we set up a second order loop. We have two variables for this loop dk is the filter number in the filterbank we are on and drate is the rate which we travel through the filters in the steady state. That is, due to the natural clock differences between the transmitter and receiver, drate represents that difference and would traverse the filter phase paths to keep the receiver locked. Thinking of this as a second-order PLL, the drate is the frequency and dk is the phase. So we update drate and dk using the standard loop equations based on two error signals, dalpha and dbeta. We have these two values set based on each other for a critically damped system, so in the block constructor, we just ask for 8220gain,8221 which is dalpha while dbeta is equal to (gain2)4. The block8217s parameters are: Build the polyphase filterbank timing synchronizer. grpfbclocksyncfffsptr. channeltaps ( self . int channel ) rarr floatvector Returns the taps of the matched filter grpfbclocksyncfffsptr. diffchanneltaps ( self . int channel ) rarr floatvector Returns the taps in the derivative filter Print all of the filterbank taps of the derivative filter to screen. Print all of the filterbank taps to screen. Set the gain value alpha for the control loop Set the gain value beta for the control loop Set the maximum deviation from 0 drate can have grpfbclocksyncfffsptr. settaps ( self . floatvector taps . dummy5 ourtaps . std::vectorlt(p. grfirfff . std::allocatorlt(p. grfirfff)gt)gt ourfilter ) Resets the filterbank8217s filter taps with the new prototype filter gnuradio. gr. pfbdecimatorccf ( unsigned int decim . floatvector taps . unsigned int channel ) rarr grpfbdecimatorccfsptr Polyphase filterbank bandpass decimator with grcomplex input, grcomplex output and float taps. This block takes in a signal stream and performs interger down - sampling (decimation) with a polyphase filterbank. The first input is the integer specifying how much to decimate by. The second input is a vector (Python list) of floating-point taps of the prototype filter. The third input specifies the channel to extract. By default, the zeroth channel is used, which is the baseband channel (first Nyquist zone). The parameter specifies which channel to use since this class is capable of bandpass decimation. Given a complex input stream at a sampling rate of and a decimation rate of. the input frequency domain is split into channels that represent the Nyquist zones. Using the polyphase filterbank, we can select any one of these channels to decimate. The output signal will be the basebanded and decimated signal from that channel. This concept is very similar to the PFB channelizer (see grpfbchannelizerccf) where only a single channel is extracted at a time. The filter8217s taps should be based on the sampling rate before decimation. For example, using the GNU Radio8217s firdes utility to building filters, we build a low-pass filter with a sampling rate of. a 3-dB bandwidth of and a transition bandwidth of. We can also specify the out-of-band attenuation to use. and the filter window function (a Blackman-harris window in this case). The first input is the gain of the filter, which we specify here as unity. The PFB decimator code takes the taps generated above and builds a set of filters. The set contains number of filters and each filter contains ceil(taps. size()decim) number of taps. Each tap from the filter prototype is sequentially inserted into the next filter. When all of the input taps are used, the remaining filters in the filterbank are filled out with 08217s to make sure each filter has the same number of taps. The theory behind this block can be found in Chapter 6 of the following book. Build the polyphase filterbank decimator. Resets the filterbank8217s filter taps with the new prototype filter gnuradio. gr. pfbinterpolatorccf ( unsigned int interp . floatvector taps ) rarr grpfbinterpolatorccfsptr Polyphase filterbank interpolator with grcomplex input, grcomplex output and float taps. This block takes in a signal stream and performs interger up - sampling (interpolation) with a polyphase filterbank. The first input is the integer specifying how much to interpolate by. The second input is a vector (Python list) of floating-point taps of the prototype filter. The filter8217s taps should be based on the interpolation rate specified. That is, the bandwidth specified is relative to the bandwidth after interpolation. For example, using the GNU Radio8217s firdes utility to building filters, we build a low-pass filter with a sampling rate of. a 3-dB bandwidth of and a transition bandwidth of. We can also specify the out-of-band attenuation to use, ATT, and the filter window function (a Blackman-harris window in this case). The first input is the gain, which is also specified as the interpolation rate so that the output levels are the same as the input (this creates an overall increase in power). The PFB interpolator code takes the taps generated above and builds a set of filters. The set contains number of filters and each filter contains ceil(taps. size()interp) number of taps. Each tap from the filter prototype is sequentially inserted into the next filter. When all of the input taps are used, the remaining filters in the filterbank are filled out with 08217s to make sure each filter has the same number of taps. The theory behind this block can be found in Chapter 7.1 of the following book. Build the polyphase filterbank interpolator. Print all of the filterbank taps to screen. Resets the filterbank8217s filter taps with the new prototype filterproblem installing gr-foo and gr-ieee80211 29 i have did the following git clone githubbastiblgr-foo. git cd gr-foo mkdir build cd build cmake. make sudo make install sudo ldconfig here is the terminal window git clone githubbastiblgr-foo. git fatal: destination path gr-foo already exists and is not an empty directory. abhiabhignan: cd gr-foo abhiabhignan: gr-foo mkdir build mkdir: cannot create directory build: File exists abhiabhignan: gr-foo cd build abhiabhignan: gr-foobuild cmake. -- Build type not specified: defaulting to release. -- Boost version: 1.58.0 -- Found the following Boost libraries: -- filesystem -- system -- thread Checking for GNU Radio Module: RUNTIME LIBSusrlibx8664-linux-gnulibgnuradio-runtime. sousrlibx8664-linux-gnulibgnuradio-pmt. so GNURADIORUNTIMEFOUND TRUE Checking for GNU Radio Module: PMT LIBSusrlibx8664-linux-gnulibgnuradio-runtime. sousrlibx8664-linux-gnulibgnuradio-pmt. so GNURADIOPMTFOUND TRUE CMake Warning (dev) at usrlibx8664-linux-gnucmakegnuradioGrTest. cmake:45 (gettargetproperty): Policy CMP0026 is not set: Disallow use of the LOCATION target property. Run cmake --help-policy CMP0026 for policy details. Use the cmakepolicy command to set the policy and suppress this warning. The LOCATION property should not be read from target test-foo. Use the target name directly with addcustomcommand, or use the generator expression ltTARGETFILEgt, as appropriate. Call Stack (most recent call first): libCMakeLists. txt:80 (GRADDTEST) This warning is for project developers. Use - Wno-dev to suppress it. -- Checking for module SWIG -- Disabling SWIG because version check failed. -- Configuring done -- Generating done -- Build files have been written to: homeabhigr-foobuild abhignan. gr-foobuild make 63 Built target gnuradio-foo 81 Built target test-foo 100 Built target pygenpythone2406 abhignan. gr-foobuild sudo make install 63 Built target gnuradio-foo 81 Built target test-foo 100 Built target pygenpythone2406 Install the project. -- Install configuration: Release -- Up-to-date: usrlocalincludefooapi. h -- Up-to-date: usrlocalincludefoobursttagger. h -- Up-to-date: usrlocalincludefoopacketdropper. h -- Up-to-date: usrlocalincludefoopacketpad. h -- Up-to-date: usrlocalincludefoopacketpad2.h -- Up-to-date: usrlocalincludefooperiodicmsgsource. h -- Up-to-date: usrlocalincludefoowiresharkconnector. h -- Up-to-date: usrlocalincludefoorttmeasure. h -- Up-to-date: usrlocalliblibgnuradio-foo. so -- Up-to-date: usrlocallibpython2.7dist-packagesfoo init. py -- Up-to-date: usrlocallibpython2.7dist-packagesfoo init. pyc -- Up-to-date: usrlocallibpython2.7dist-packagesfoo init. pyo -- Up-to-date: usrlocalsharegnuradiogrcblocksfoobursttagger. xml -- Up-to-date: usrlocalsharegnuradiogrcblocksfoopacketdropper. xml -- Up-to-date: usrlocalsharegnuradiogrcblocksfoopacketpad. xml -- Up-to-date: usrlocalsharegnuradiogrcblocksfoopacketpad2.xml -- Up-to-date: usrlocalsharegnuradiogrcblocksfooperiodicmsgsource. xml -- Up-to-date: usrlocalsharegnur adiogrcblocksfoorttmeasure. xml -- Up-to-date: usrlocalsharegnuradiogrcblocksfoowiresharkconnector. xml abhignan. gr-foobuild sudo make ldconfig make: No rule to make target ldconfig. Stop. abhignan. gr-foobuild sudo ldconfig abhignan : even after this gnuradio gives the same error. after gr-foo i have also tried git reset --hard 00beec517d096e4f2f6a45250750369db90dc104 but no difference. and tried this. still no effect. please let me know what to do. Thanks for the speedy reply. i have exported and here it is abhiabhignan: export PYTHONPATHusrlocallibpython2.7dist-packages abhiabhignan: gnuradio-companion linux GNU C version 5.2.1 20150911 Boost105800 UHD003.009.001-0-unknown ltltlt Welcome to GNU Radio Companion 3.7.8 gtgtgt Preferences file: homeabhi. grc Block paths: usrlocalsharegnuradiogrcblocks homeabhi. grcgnuradio usrsharegnuradiogrcblocks Error: Connection between ieee80211ofdmdecodemac0(out) and padsink2(in) could not be made. sink key in not in sink block keys Traceback (most recent call last): File usrlibpython2.7dist-packagesgnuradiogrcbaseFlowGraph. py, line 338, in importdata raise LookupError(sink key s not in sink block keys sinkkey) LookupError: sink key in not in sink block keys Error: Connection between padsource1(out) and ieee80211ofdmmapper0(in) could not be made. source key out not in source block keys Traceback (most recent call last): File usrlibpython2.7dist-packagesgnuradiogrcbaseFlowGraph. py, line 332, in importdata raise LookupError(source key s not in source block keys sourcekey) LookupError: source key out not in source block keys Done Error: Connection between ieee80211ofdmdecodemac0(out) and padsink2(in) could not be made. sink key in not in sink block keys Traceback (most recent call last): File usrlibpython2.7dist-packagesgnuradiogrcbaseFlowGraph. py, line 338, in importdata raise LookupError(sink key s not in sink block keys sinkkey) LookupError: sink key in not in sink block keys Error: Connection between padsource1(out) and ieee80211ofdmmapper0(in) could not be made. source key out not in source block keys Traceback (most recent call last): File usrlibpython2.7dist-packagesgnuradiogrcbaseFlowGraph. py, line 332, in importdata raise LookupError(source key s not in source block keys sourcekey) LookupError: source key out not in source block keys Done Showing: homeabhiDesktopsdrgr-ieee802-11-masterexampleswifiphyhier. grc CTraceback (most recent call last): File usrbingnuradio-companion, line 128, in main() File usrbingnuradio-companion, line 121, in main ActionHandler(args, Platform()) File usrlibpython2.7dist-packagesgnuradiogrcguiActionHandler. py, line 75, in init gtk. main() . ye i do have the build log from installing gr-iee802-11 here is it git clone git:githubbastiblgr-ieee802-11.git Cloning into gr-ieee802-11. remote: Counting objects: 1736, done. remote: Compressing objects: 100 (44), done. remote: Total 1736 (delta 0), reused 0 (delta 0), pack-reused 1732 Receiving objects: 100 (17361736), 655.43 KiB 0 bytess, done. Resolving deltas: 100 (11661166), done. Checking connectivity. done. abhiabhignan: cd gr-ieee802-11 abhiabhignan: gr-ieee802-11 mkdir build abhiabhignan: gr-ieee802-11 cd build abhiabhignan: gr-ieee802-11build cmake. -- The CXX compiler identification is GNU 5.2.1 -- The C compiler identification is GNU 5.2.1 -- Check for working CXX compiler: usrbinc -- Check for working CXX compiler: usrbinc -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- Check for working C compiler: usrbincc -- Check for working C compiler: usrbincc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Build type not specified: defaulting to release. -- Boost version: 1.58.0 -- Found the following Boost libraries: -- filesystem -- system -- Found PkgConfig: usrbinpkg-config (found version 0.28) Checking for GNU Radio Module: RUNTIME -- checking for module gnuradio-runtime -- found gnuradio-runtime, version 3.7.8 INCLUDESusrinclude LIBSusrlibx8664-linux-gnulibgnuradio-runtime. sousrlibx8664-linux-gnulibgnuradio-pmt. so -- Found GNURADIORUNTIME: usrlibx8664-linux-gnulibgnuradio-runtime. sousrlibx8664-linux-gnulibgnuradio-pmt. so GNURADIORUNTIMEFOUND TRUE Checking for GNU Radio Module: DIGITAL -- checking for module gnuradio-digital -- found gnuradio-digital, version 3.7.8 INCLUDESusrinclude LIBSusrlibx8664-linux-gnulibgnuradio-digital. sousrlibx8664-linux-gnulibgnuradio-runtime. sousrlibx8664-linux-gnulibgnuradio-pmt. so -- Found GNURADIODIGITAL: usrlibx8664-linux-gnulibgnuradio-digital. sousrlibx8664-linux-gnulibgnuradio-runtime. sousrlibx8664-linux-gnulibgnuradio-pmt. so GNURADIODIGITALFOUND TRUE Checking for GNU Radio Module: FFT -- check ing for module gnuradio-fft -- found gnuradio-fft, version 3.7.8 INCLUDESusrinclude LIBSusrlibx8664-linux-gnulibgnuradio-fft. sousrlibx8664-linux-gnulibgnuradio-runtime. sousrlibx8664-linux-gnulibgnuradio-pmt. so -- Found GNURADIOFFT: usrlibx8664-linux-gnulibgnuradio-fft. sousrlibx8664-linux-gnulibgnuradio-runtime. sousrlibx8664-linux-gnulibgnuradio-pmt. so GNURADIOFFTFOUND TRUE Checking for GNU Radio Module: FILTER -- checking for module gnuradio-filter -- found gnuradio-filter, version 3.7.8 INCLUDESusrinclude LIBSusrlibx8664-linux-gnulibgnuradio-filter. sousrlibx8664-linux-gnulibgnuradio-fft. sousrlibx8664-linux-gnulibgnuradio-runtime. sousrlibx8664-linux-gnulibgnuradio-pmt. so -- Found GNURADIOFILTER: usrlibx8664-linux-gnulibgnuradio-filter. sousrlibx8664-linux-gnulibgnuradio-fft. sousrlibx8664-linux-gnulibgnuradio-runtime. sousrlibx8664-linux-gnulibgnuradio-pmt. so GNURADIOFILTERFOUND TRUE Checking for GNU Radio Module: PMT -- checking for module gnuradio-runtime -- found gnuradio-runtime, ve rsion 3.7.8 INCLUDESusrinclude LIBSusrlibx8664-linux-gnulibgnuradio-runtime. sousrlibx8664-linux-gnulibgnuradio-pmt. so -- Found GNURADIOPMT: usrlibx8664-linux-gnulibgnuradio-runtime. sousrlibx8664-linux-gnulibgnuradio-pmt. so GNURADIOPMTFOUND TRUE -- checking for module cppunit -- found cppunit, version 1.13.2 -- Found CPPUNIT: usrlibx8664-linux-gnulibcppunit. sodl -- checking for module itpp -- found itpp, version 4.3.1 -- Found ITPP: usrlibx8664-linux-gnulibitpp. so -- Found LOG4CPP: usrlibliblog4cpp. so -- Found LOG4CPP: usrlibliblog4cpp. so -- Found PythonInterp: usrbinpython2 (found suitable version 2.7.10, minimum required is 2) -- Checking for module SWIG -- Disabling SWIG because version check failed. -- Found PythonLibs: usrlibx8664-linux-gnulibpython2.7.so (found suitable version 2.7.10, minimum required is 2) -- Configuring done -- Generating done -- Build files have been written to: homeabhigr-ieee802-11build abhiabhignan: gr-ieee802-11build make Scanning dependencies of target ieee80211generatedincludes 4 Generating movingaverageff. h, movingaveragecc. h 4 Built target ieee80211generatedincludes Scanning dependencies of target ieee80211generatedsources 9 Generating movingaverageccimpl. cc, movingaverageffimpl. cc 9 Built target ieee80211generatedsources 13 Generating movingaverageccimpl. h, movingaverageffimpl. h Scanning dependencies of target gnuradio-ieee80211 18 Building CXX object libCMakeFilesgnuradio-ieee80211.dirmovingaverageccimpl. cc. o 22 Building CXX object libCMakeFilesgnuradio-ieee80211.dirmovingaverageffimpl. cc. o 27 Building CXX object libCMakeFilesgnuradio-ieee80211.direqualizerlinearcomb. cc. o 31 Building CXX object libCMakeFilesgnuradio-ieee80211.direqualizerl ms. cc. o 36 Building CXX object libCMakeFilesgnuradio-ieee80211.dirchunkstosymbolsimpl. cc. o 40 Building CXX object libCMakeFilesgnuradio-ieee80211.diretherencapimpl. cc. o 45 Building CXX object libCMakeFilesgnuradio-ieee80211.dirofdmdecodemac. cc. o 50 Building CXX object libCMakeFilesgnuradio-ieee80211.dirofdmdecodesignal. cc. o 54 Building CXX object libCMakeFilesgnuradio-ieee80211.dirofdmequalizesymbols. cc. o 59 Building CXX object libCMakeFilesgnuradio-ieee80211.dirofdmmac. cc. o 63 Building CXX object libCMakeFilesgnuradio-ieee80211.dirofdmmapper. cc. o 68 Building CXX object libCMakeFilesgnuradio-ieee80211.dirofdmparsemac. cc. o 72 Building CXX object libCMakeFilesgnuradio-ieee80211.dirofdmsynclong. cc. o 77 Building CXX object libCMakeFilesgnuradio-ieee80211.dirofdmsyncshort. cc. o 81 Building CXX object libCMakeFilesgnuradio-ieee80211.dirutils. cc. o 86 Building CXX object libCMakeFilesgnuradio-ieee80211.dirwifisignalfieldimpl. cc. o Linking CXX shared library libgnuradio-ieee80211.so 90 Built target gnuradio-ieee80211 Scanning dependencies of target pygenpythonb3c1b 95 Generating init. pyc 100 Generating init. pyo 100 Built target pygenpythonb3c1b abhiabhignan: gr-ieee802-11build sudo make install sudo password for abhi: 4 Built target ieee80211generatedincludes 9 Built target ieee80211generatedsources 90 Built target gnuradio-ieee80211 100 Built target pygenpythonb3c1b Install the project. -- Install configuration: Release -- Installing: usrlocalincludeieee802-11gnuradioieee80211movingaverageff. h -- Installing: usrlocalincludeieee802-11gnuradioieee80211movingaveragecc. h -- Installing: usrlocalincludeieee802-11gnuradioieee80211api. h -- Installing: usrlocalincludeieee802-11gnuradioieee80211chunkstosymbols. h -- Installing: usrlocalincludeieee802-11gnuradioieee80211etherencap. h -- Installing: usrlocalincludeieee802-11gnuradioieee80211ofdmdecodemac. h -- Installing: usrlocalincludeieee802-11gnuradioieee80211ofdmdecodesignal. h -- Installing: usrlocalincludeieee802-11gnuradioieee80211ofdmequalizesymbols. h -- Installing: usrlocalincludeieee802-11gnuradioieee80211ofdmmac. h -- Installing: usrlocalincludeieee802-11gnuradioieee80211ofdmmapper. h -- Installing: usrlocalincludeieee802-11gnuradioieee80211ofdmparsemac. h -- Installing: usrlocalincludeieee802-11gnuradioieee80211ofdmsynclong. h -- Installing: usrlocalincludeieee802-11gnuradioieee80211ofdmsyncshort. h -- Installing: usrlocalinc ludeieee802-11gnuradioieee80211wifisignalfield. h -- Installing: usrlocalliblibgnuradio-ieee80211.so -- Installing: usrlocallibpython2.7dist-packagesieee80211 init. py -- Installing: usrlocallibpython2.7dist-packagesieee80211 init. pyc -- Installing: usrlocallibpython2.7dist-packagesieee80211 init. pyo -- Installing: usrlocalsharegnuradiogrcblocksieee80211ofdmsynclong. xml -- Installing: usrlocalsharegnuradiogrcblocksieee80211etherencap. xml -- Installing: usrlocalsharegnuradiogrcblocksieee80211chunkstosymbols. xml -- Installing: usrlocalsharegnuradiogrcblocksieee80211movingaveragexx. xml -- Installing: usrlocalsharegnuradiogrcblocksieee80211ofdmdecodemac. xml -- Installing: usrlocalsharegnuradiogrcblocksieee80211ofdmdecodesignal. xml -- Installing: usrlocalsharegnuradiogrcblocksieee80211ofdmsyncshort. xml -- Installing: usrlocalsharegnuradiogrcblocksieee80211ofdmmapper. xml -- Installing: usrlocalsharegnuradiogrcblocksieee80211ofdmparsemac. xml -- Installing: usrlocalsharegnuradiogrcblocksieee8 0211ofdmequalizesymbols. xml -- Installing: usrlocalsharegnuradiogrcblocksieee80211ofdmmac. xml abhiabhignan: gr-ieee802-11build sudo ldconfig Please install another swig version. finally got it to work by install different version of swig.. i am really sorry i overlooked it. now everything is fine but except this. it says cannot create connection even after manually connecting them. here is the error Error: Connection between ieee80211ofdmdecodemac0(out) and padsink2(in) could not be made. sink key in not in sink block keys Traceback (most recent call last): File usrlibpython2.7dist-packagesgnuradiogrcbaseFlowGraph. py, line 338, in importdata raise LookupError(sink key s not in sink block keys sinkkey) LookupError: sink key in not in sink block keys Error: Connection between padsource1(out) and ieee80211ofdmmapper0(in) could not be made. source key out not in source block keys Traceback (most recent call last): File usrlibpython2.7dist-packagesgnuradiogrcbaseFlowGraph. py, line 332, in importdata raise LookupError(source key s not in source block keys sourcekey) LookupError: source key out not in source block keys Done Error: Cannot create connection. . I never had this problem. Are you sure you did not changestore the flow graphs yes i am sure i did not change any flow graphs. to make sure, i have downloaded the whole zip from git and opened the file after extracting it now and tried again and it says same error. and the line between them is dotted . please scroll down well, I was stupid. Thank you for being so much patient and baring my stupidity. I truly appreciate your help. You cant perform that action at this time. You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.

No comments:

Post a Comment