Hi everybody,
I try to use the function uhd.usrp_source.
It works well with the default rate
parser.add_option("-s", "--samp-rate", type="eng_float", default=1e6,
help="set sample rate (bandwidth) [default=%default]")
But i would like to have a better rate (1e9), and if i change that, it didn't works.
Someone know why?
Thank you a lot!
self.u = uhd.usrp_source(device_addr=options.args,
stream_args=uhd.stream_args('fc32'))
# Set the subdevice spec
if(options.spec):
self.u.set_subdev_spec(options.spec, 0)
self.u.set_samp_rate(options.samp_rate)
No comments:
Post a Comment