Hi all
To test my program several times with the same data I replaced the "USRP
source" with a "file source" and a throttle:
Old situation:
self.uhd_usrp_source_0 = uhd.usrp_source(
device_addr="addr=192.168.10.2",
io_type=uhd.io_type.COMPLEX_FLOAT32,
num_channels=1,
)
self.uhd_usrp_source_0.set_samp_rate(samp_rate)
self.uhd_usrp_source_0.set_center_freq(227360000, 0)
self.uhd_usrp_source_0.set_gain(31.5, 0)
New situation:
self.file_source = gr.file_source(gr.sizeof_gr_complex*1,
"/home/hoim/WorkDAB/Record8.dat", False)
self.throttle_0 = gr.throttle(gr.sizeof_gr_complex*1, samp_rate)
My problem is that the generated output isn't every time the same. Has
GNU Radio something like a "Master reset" that I had to use before I
start my programm? Or have somebody an idea what the origin of the
inconsistence could be?
Any help will be appreciated
Thanks
Michael
_______________________________________________
Discuss-gnuradio mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio