discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Discuss-gnuradio] Generate a specific wave form


From: Marcus Müller
Subject: Re: [Discuss-gnuradio] Generate a specific wave form
Date: Tue, 30 Jun 2015 16:24:07 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0

Why do you use the sample and hold block?
You could use
vector_source->(throttle)->QT time sink


Best regards,
Marcus


On 06/30/2015 02:53 PM, Antonny Caesar wrote:
> Jeon wrote in post #1175836:
>> If those overshoots are unwanted but inevitable due to hardware
>> characteristics and limitations,
>>
>> you can generate a wave form with vector source with input sequence
>> 1010010000111...
>>
>> Then, the output will be HLHLLHLLLLHHH... (H = HIGH, LOW = LOW)
>>
>> Regards,
>> Jeon.
>>
>> 2015-06-29 23:23 GMT+09:00 Antonny Caesar <address@hidden>:
> Well, I don't think this solution using vector works (I might be wrong,
> of course). I tried to build it in the latest version of Gnuradio which
> is 3.7.2.1 (Ubuntu 14.04 LTS). The prints are shown below:
>
> The blocks:
> http://i62.tinypic.com/i2ppjl.png
>
> Input signal:
> http://i61.tinypic.com/29zy7ft.png
>
> Output Signal:
> http://i60.tinypic.com/rjjy9u.png
>
> Vector created:
> http://i57.tinypic.com/2efru6o.png
>
> What I need to do is a kind of "switch". With this vector in the Ctrl
> Port of the Sample & Hold, I want the same wave of the input in the
> output, but appearing and desappearing according to the Vector Source (0
> - no signal, 1 - entire signal).
>
> If the signal in the Input Port is a square wave, then I want the same
> wave but appearing and desappearing in a random way according to the
> vector I created, but It isn't happening.
>
> I don't know if I was clear enough. Please, help me and tell me if you
> need more details about my problem.
>
> Sorry and thank you.
>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]