>>Is there an easy way to get a vector source to pass on the same signal
>>over and over again, but with a fixed delay between each transmission?

'good practices' option: Look at the benchmark_*x.py examples, if you
drill down into the packet manager you will find an example of a
source block that takes messages asynchronously from your python
script and converts them into a stream of bits for the modulator.  You
could probably use that block directly, or at least with few
modifications.

quick option: You could probably use vector_src_x as a starting point.
 All you'd have to do is append a bunch of zeros the following code
builds a small frame that repeats with a 26 sample delay after each.
This method relies on your modulator expecting symboled bits already:

vector_src1 = 
(1,-1,1,-1)*6+(1,-1,-1,1,-1,-1,1,-1,1,-1,-1,-1,-1,1,-1,-1,-1,-1,-1,1,1,1,-1,1,-1,-1)+(0,)*26
src1 = gr.vector_source_c(vector_src1,True)

Jason


_______________________________________________
Discuss-gnuradio mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Reply via email to