Hi All,

I am building an application where I simultanuously want to receive and
transmit using the USRP2.
Since I also need the timestamps, I implement this using C++.
(Building my own filewriter class which extends usrp2::rx_nop_handler,
like in rx_streaming_samples.cc)

Should I use threads to keep TX and RX from interfering with each other.
With threads I could just start the RX thread and TX thread.
If I don't use threads I have to interleave sending and receiving
packets.


Is there an example I could look at.

I now based my code on :
usrp2/host/apps/rx_streaming_samples.cc
and
usrp2/host/apps/tx_samples.cc

I know gnuradio has its own support code for threads, but I couldn't
find an easy example on how to use it.

Best Regards,

Martin




_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
http://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Reply via email to