[Discuss-gnuradio] message queue
hi, i am working on a spectrum sense code. in the following statement self.msgq = gr.msg_queue(16) is there any significance for the number 16?does changing this number affect the performance of the code? kindly help. -- View this message in context: http://www.nabble.com/message-queue-tp25091208p25091208.html Sent from the GnuRadio mailing list archive at Nabble.com. ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org http://lists.gnu.org/mailman/listinfo/discuss-gnuradio
Re: [Discuss-gnuradio] Broken pipe when I write the payload to a pipe.
hi Brook, me too facing the same error. Could you/anyone please help? Shesh Brook Lin wrote: All right, I use 'import signal' and 'signal.signal(signal.SIGPIPE, signal.SIG_DFL)' to solve the [Errno 32] Broken pipe. Then I met another problem. The error says 'sh: pipe: not found'. However, pipe dose be created. How should I do next? Thanks. OFDM Demodulator: Modulation Type: bpsk FFT length: 128 Occupied Tones: 100 CP length:32 TIMEOUT ok: True pktno: 1n_rcvd: 1 n_right: 1 sh: pipe: not found Brook Lin wrote: Hi All, I am trying to write the payload to a pipe rather than to a file in benchmark_ofdm_rx.py. The script is attached below. However, I got the error 'Broeken pipe' when I run the script. Can anyone tell me why is that and how to correct it? rxdata.append(payload[2:]) #os.mkfifo('pipe') myfile = os.popen('pipe','w') for data in rxdata: myfile.write(data) myfile.close() Thanks, Brook -- View this message in context: http://www.nabble.com/Broken-pipe-when-I-write-the-payload-to-a-pipe.-tp21631361p24252126.html Sent from the GnuRadio mailing list archive at Nabble.com. ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org http://lists.gnu.org/mailman/listinfo/discuss-gnuradio
Re: [Discuss-gnuradio] Wideband Spectrum Analyzer
Firas, have to written a detailed explanation about usrp_spectrum_sense.py ? I am unable to find it. Please let us know the link for the same... Shesh Firas A. wrote: Hi, Santi Ortega wrote : ok, so I have to modify this program to show in a Frame the results I want, haven't I? Yes, OR, you can wait for me to write a detailed explanation (may be in two weeks) about usrp_spectrum_sense.py. I think the understanding of this program is very important to every gnuradio user (practical FFT implementation + FSM control in its cpp code and weird Python commands in its .py) Best regards, Firas -- View this message in context: http://www.nabble.com/Wideband-Spectrum-Analyzer-tp19974701p24162627.html Sent from the GnuRadio mailing list archive at Nabble.com. ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org http://lists.gnu.org/mailman/listinfo/discuss-gnuradio