[Discuss-gnuradio] Message Input port in hierarchical block
Hi, I have a hierarchical block generated via GRC with no input or output message port. Now I add a message port by changing python code for some control functionality using: self.message_port_register_hier_in("test") Now generally in sync or other blocks we can bind this "test" port to a handler function like: self.set_msg_handler(pmt.intern("test"),self.handler) The problem is that there is no such function for hierarchical blocks in gr.hier_block2 class So how can I process message data coming in at this port ? Please excuse if I have missed something. Kartik -- View this message in context: http://gnuradio.4.n7.nabble.com/Message-Input-port-in-hierarchical-block-tp57896.html Sent from the GnuRadio mailing list archive at Nabble.com. ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
[Discuss-gnuradio] Synchronizing data transmission and reception
Hello Everyone, I am transmitting data from one PC (with SDR) to another PC (with another SDR). The data is a IQ stream of 1s and 0s which will be read from a file and modulated(QAM, QPSK or any other). The data will be received at the other PC, demodulated and dumped into a file for further analysis. The data will be sent and received repeatedly The problem is that I want the data to be synchronized so that corresponding samples can be analyzed. I thought of using a header or something but I am not able to implement it in GRC. I only want the data to be dumped from the start. In the beginning I am comfortable with even wired transmission(connecting Tx to Rx directly) but main thing is synchronization. Please help with the flowgraph in GRC so that I can synchronize data. Thank you P.S - I tried packet encoder and decoder blocks but couldn't retrieve synchronized data. I am using GNURadio 3.7.0 on a 64-bit Ubuntu 12.04 -- View this message in context: http://gnuradio.4.n7.nabble.com/Synchronizing-data-transmission-and-reception-tp44161.html Sent from the GnuRadio mailing list archive at Nabble.com. ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
Re: [Discuss-gnuradio] QAM Modulation-Demodulation in Loopback
Just a follow up. I have noticed that data demodulation is intermittent, like if I execute the same flowgraph a number of times sometimes I get a waveform after demodulation but most of the time received scope is blank. I really have no explanation for this. Any information regarding this would be really helpful Thanks in advance -- View this message in context: http://gnuradio.4.n7.nabble.com/QAM-Modulation-Demodulation-in-Loopback-tp45034p45080.html Sent from the GnuRadio mailing list archive at Nabble.com. ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio