Author Topic: Query on GNU Radio Companion Threshold block and Selector Block.  (Read 8341 times)

0 Members and 1 Guest are viewing this topic.

Offline rfenggTopic starter

  • Regular Contributor
  • *
  • Posts: 127
  • Country: us
Dipping my feet into the waters of SDR and am stuck with my first flowchart.

I wanted to create a flowchart in which I detect an external signal from a  RTL-SDR Source block and then switch off a signal to the USRP sink created using the Signal Source block.
The signal is detected using the Threshold block but how do I control the Signal source block from the outputs of the Threshold block directly without using any python scripts?
I tried to use a 2*1 (2 inputs, one output)  selector block, one fed with a null source and the other with the wanted signal but the  'iindex' Input index can only be messaged and cannot be controlled by the threshold block directly? Can someone provide some advice?
The flowchart is attached below........I cannot seem to connect any outputs (red arrow) to the 'iindex' Input index so that the selector could be switched between the wanted source and the null source.
Not familiar with Python so am not sure if I can write a block for it.
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf