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 <li...@ruby-forum.com>:
> 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.
>


_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Reply via email to