[USRP-users] B210 full-duplex asynchronous control
marcus.mueller at ettus.com
Sat Apr 25 05:23:08 EDT 2015
we ship C++ examples with UHD; assuming you're using linux, they'd be in
binary form under /usr/[local/]lib/uhd/examples, and you can find
the examples in the source code tree under uhd/host/examples .
You should have a look at the rx_timed_samples and tx_timed_samples
examples, because they do exactly what you want: Instruct the USRP to
start and stop reception at sample-time accurate timestamps.
You can generally use stream_cmd_t with
rx_streamer/tx_streamer::issue_stream_cmd, setting a time in the
If you want to do things like tuning or gain setting at exact times,
you'd use set_command_time, before doing your set_rx_freq etc.
On 04/24/2015 10:56 AM, Javier Coronel (Expo Impex, S.L.) via USRP-users
> Hi all,
> I have a B210 and I want to use it somehow like a RADAR, but instead
> of sending and receiving at some frequency (in RADAR terminology at
> some PRF, Pulse Repetition Frequency) I need to activate / deactivate
> The operation scheme would be something like:
> - Set base frequency for sending and receiving
> - Send and receive (full-duplex) some pulses or continuously over
> 1 second for instance
> - Loop, but setting another frequency
> For this algorithm I consider more useful C++ instead of Python, due
> to the available API.
> The main problem I have found is where to get some documentation and
> examples about how to use the C++ API.
> I have read http://files.ettus.com/manual/ but this is only a list of
> the available functions, but with almost no comments. Is there any
> information source I can get about the C++ API?
> Now I am reading the driver's source code, but I would like to get
> some information to easy this task.
> Thank you a lot and have a nice weekend!!
> Best Regards,
> Javier Coronel
> USRP-users mailing list
> USRP-users at lists.ettus.com
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the USRP-users