Hi all, I have the same doubt. I want to generate a pulse (with a duty cycle less than 50%) and I do not know how to do it.
I saw gr.sig_source_x but this only generate pulses at 50% duty cycle. I tried to multiply several squares pulses at different frequencies and it works, I get a pulse of 12.5% duty cycle for example but it is semi-random since all signal generators are not coherent. Please Can somebody help me to generate a pulse signal which I can change the pulse width? Thanks, Jorge. Karthik-28 wrote: > > On Mon, Feb 9, 2009 at 2:11 AM, Bruhtesfa Ebrahim > <[email protected]>wrote: > >> Hey all, >> >> I want to generate a periodic rectangular pulse(of low duty cycle) from >> one USRP and receive it using another USRP operating simultaneously. >> >> So, is there some built in function to generate such a pulse? >> Also,what filter do i need to apply before connecting the pulse source >> to Usrp sink? >> >> Thanks! >> >> Bruhtesfa >> -- >> Posted via http://www.ruby-forum.com/. >> >> >> _______________________________________________ >> Discuss-gnuradio mailing list >> [email protected] >> http://lists.gnu.org/mailman/listinfo/discuss-gnuradio >> > > You can write your own block if you aren't able to find something that you > can plug in from gnuradio. There is a source gr.sig_source_x which > generates > square pulses, which you can modify to suit your requirements. The actual > period of the waveform coming out of the USRP will depend on the length of > the sequence and what your interpolation setting is. However, that is > something that you can work out. > > Karthik > > _______________________________________________ > Discuss-gnuradio mailing list > [email protected] > http://lists.gnu.org/mailman/listinfo/discuss-gnuradio > > -- View this message in context: http://old.nabble.com/how-to-generate-a-periodic-pulse-tp21910045p29903364.html Sent from the GnuRadio mailing list archive at Nabble.com. _______________________________________________ Discuss-gnuradio mailing list [email protected] http://lists.gnu.org/mailman/listinfo/discuss-gnuradio
