[USRP-users] Re: Questions about replay block

2022-02-02 Thread Rob Kossler
On Wed, Feb 2, 2022 at 12:11 PM Ofer Saferman wrote: > > Thank you for your quick response. > One last question in order to complete my understanding. > From what you are saying then the sequence of events should be: > radio_ctrl->issue_stream_cmd(cmd,port0) > replay_ctrl->record(,port0) > ra

[USRP-users] Re: Questions about replay block

2022-02-02 Thread Ofer Saferman
ms doable to me, but you may want to start with a simpler >>> approach (such as separate ports that don't require reconfiguring graphs). >>> Also, regarding your question about a fixed number of samples, I think that >>> the limit is 2^28 samples in the NUM_SAMPS_AND_DONE option. If

[USRP-users] Re: Questions about replay block

2022-02-02 Thread Rob Kossler
). >> >>>>>> Rob >> >>>>>> >> >>>>>> On Tue, Feb 1, 2022 at 12:18 AM Ofer Saferman >> wrote: >> >>>>>>> >> >>>>>>> Hello Wade, >> >>>>>>> &g

[USRP-users] Re: Questions about replay block

2022-02-02 Thread Ofer Saferman
; rx_stream. When I do record or playback, which of the graphs is active? > Both of them? In both directions? Can I control it to activate only one > direction? For Tx I want to use the record function only once to get the > samples into the buffer and playback them periodically (same as

[USRP-users] Re: Questions about replay block

2022-02-02 Thread Rob Kossler
-> Replay --> Radio, Radio --> >>>>>>> Replay --> rx_stream. When I do record or playback, which of the graphs >>>>>>> is active? Both of them? In both directions? Can I control it to >>>>>>> activate only one direction? For Tx I want to use the recor

[USRP-users] Re: Questions about replay block

2022-02-02 Thread Ofer Saferman
ples_from_file example) but for the other direction of >>>>>> Rx I >>>>>> want to use the record function all the time. When I issue the record >>>>>> command, which graph is active? The Tx graph? The Rx graph? Will it allow >>>>>>

[USRP-users] Re: Questions about replay block

2022-02-01 Thread Rob Kossler
graph? The Rx graph? Will it allow >>>>> me to make the 2 graphs at all using the same port? It is my understanding >>>>> that for the 2 graphs I mentioned I need two ports of replay, one for each >>>>> graph. Please correct me if I am wrong. >>>>> 4.

[USRP-users] Re: Questions about replay block

2022-02-01 Thread Rob Kossler
w do I issue a record command that will >>>> cause both channels (ports) to record at the same time instant? I know we >>>> can do timed commands for streams but how to do it for replay ? My use of >>>> the rx streams is done later in an offline fashion and can be

[USRP-users] Re: Questions about replay block

2022-02-01 Thread Ofer Saferman
do it for replay ? My use of >>> the rx streams is done later in an offline fashion and can be done in >>> series for each of the Rx channels but the recording of samples itself to >>> DRAM has to be simultaneous. >>> >>> Thanks, >>> Ofer Saferma

[USRP-users] Re: Questions about replay block

2022-02-01 Thread Rob Kossler
t the recording of samples itself to >> DRAM has to be simultaneous. >> >> Thanks, >> Ofer Saferman >> >> -- Forwarded message -- >>> From: Wade Fife >>> To: Ofer Saferman >>> Cc: usrp-users >>> Bcc: >&g

[USRP-users] Re: Questions about replay block

2022-02-01 Thread Rob Kossler
ge -- >> From: Wade Fife >> To: Ofer Saferman >> Cc: usrp-users >> Bcc: >> Date: Mon, 31 Jan 2022 16:52:41 -0600 >> Subject: [USRP-users] Re: Questions about replay block >> Hi Ofer, >> >> 1. It is bidirectional. You can think of the

[USRP-users] Re: Questions about replay block

2022-01-31 Thread Ofer Saferman
g of samples itself to DRAM has to be simultaneous. Thanks, Ofer Saferman -- Forwarded message -- > From: Wade Fife > To: Ofer Saferman > Cc: usrp-users > Bcc: > Date: Mon, 31 Jan 2022 16:52:41 -0600 > Subject: [USRP-users] Re: Questions about replay block > Hi

[USRP-users] Re: Questions about replay block

2022-01-31 Thread Wade Fife
Hi Ofer, 1. It is bidirectional. You can think of the "record" and the "play" components as independent, but connected to the same memory. So be careful not to read/write to the same memory space and be aware that reading and writing simultaneously slows down the DRAM making under/overflow more li