Hello,
I would like to construct a sample and hold function with :
src_data=(0,)*4095,1
delay2=gr.vector_source_b(src_data,True)
sample_and_hold = gr.sample_and_hold_ff()
I would like that that sample and hold had a duration of 4096 cycles
(4095 “0” followed by a “1”).
But constructing my vector using src_data=src_data=(0,)*4095,1, I obtain
:
((0, 0, 0, 0, 0, … 0, 0, 0, 0, 0), 1)
instead of
(0, 0, 0, 0, 0, 0,… 0, 0, 0, 0, 1) as I would like
Could you please help me to construct correctly the vector.
Thank you very much,
Pepito