Hi Nidhi, It seems you are connecting things correctly - I'm not sure why you are getting that error. Rob
On Fri, Dec 13, 2024 at 4:48 AM Nidhi Panda <nidhi.pa...@cyronics.com> wrote: > > ------------------------------ > *From:* Nidhi Panda <nidhi.pa...@cyronics.com> > *Sent:* Friday, December 13, 2024 11:14 AM > *To:* Rob Kossler <rkoss...@nd.edu> > *Cc:* usrp-users@lists.ettus.com <usrp-users@lists.ettus.com> > *Subject:* [USRP-users] Re: Issue with Starting Transmitter on USRP N300 > without Using Streamers > > Hello Rob and Martin, > > Thank you for responding. We tried that, and got error related to edge > property. We have also played around by making different combination of > edges as " true or false" but ended up with same error message. I have > attached a screenshot of connection and error message. > > Regards, > > Nidhi > ------------------------------ > *From:* Rob Kossler <rkoss...@nd.edu> > *Sent:* Thursday, December 12, 2024 9:25 PM > *To:* Nidhi Panda <nidhi.pa...@cyronics.com> > *Cc:* Martin Braun <martin.br...@ettus.com>; usrp-users@lists.ettus.com < > usrp-users@lists.ettus.com> > *Subject:* Re: [USRP-users] Re: Issue with Starting Transmitter on USRP > N300 without Using Streamers > > As a test case, perhaps try a graph where the Tx and Rx channels are not > the same. > > On Thu, Dec 12, 2024 at 7:04 AM Nidhi Panda <nidhi.pa...@cyronics.com> > wrote: > > Tried the way you suggested. Still getting same error. Please check if > it's correct. > > > ------------------------------ > *From:* Martin Braun <martin.br...@ettus.com> > *Sent:* Thursday, December 12, 2024 6:08 PM > *Cc:* usrp-users@lists.ettus.com <usrp-users@lists.ettus.com> > *Subject:* [USRP-users] Re: Issue with Starting Transmitter on USRP N300 > without Using Streamers > > I don't have access to an N300, so I can't test it for you. > > One thing you can do is to generate the flow graph (don't run it!) and > open the generated Python code in an editor. > You will find a section like this: > > ################################################## > # Connections > ################################################## > self.msg_connect((self.blocks_var_to_msg_0, 'msgout'), > (self.uhd_rfnoc_rx_radio_0, 'command')) > self.rfnoc_graph.connect(self.uhd_rfnoc_ddc_0.get_unique_id(), 0, > self.uhd_rfnoc_duc_0.get_unique_id(), 0, False) > self.rfnoc_graph.connect(self.uhd_rfnoc_duc_0.get_unique_id(), 0, > self.uhd_rfnoc_tx_radio_0.get_unique_id(), 0, rx_slot == tx_slot) > > self.rfnoc_graph.connect(self.uhd_rfnoc_rx_radio_0.get_unique_id(), 0, > self.uhd_rfnoc_ddc_0.get_unique_id(), 0, False) > self.connect((self.blocks_null_source_0, 0), > (self.blocks_throttle2_0, 0)) > self.connect((self.blocks_throttle2_0, 0), > (self.blocks_null_sink_0, 0)) > > Where we have the rfnoc_graph.connect() calls, you can see the back-edge > argument towards the end. If you've set tx_slot and rx_slot to 0 (for an > N300), then this should evaluate to True. You could try manually setting > this to true, then running the Python code directly (not from GRC, or it > will overwrite your code unless you copy the generated code to the side) > > --M > > On Thu, Dec 12, 2024 at 12:38 PM Nidhi Panda <nidhi.pa...@cyronics.com> > wrote: > > Hello Martin, > > Thank you for your prompt reply. I have updated ' dev_addr' for N300 and > tested the example. It failed by giving error : > > *RuntimeError: RfnocError: Adding edge without disabling is_forward_edge > will lead to unresolvable graph!. * between RX radio and DDC chain. > > I have updated the sample rate and bandwidth parameters as per N300 > specifications i.e. SR = 125 Mhz and BW = 100 Mhz. Is there any way you > can check this example for N300 at your end? > > Regards, > Nidhi > > ------------------------------ > *From:* Martin Braun <martin.br...@ettus.com> > *Sent:* Thursday, December 12, 2024 4:59 PM > *Cc:* usrp-users@lists.ettus.com <usrp-users@lists.ettus.com> > *Subject:* [USRP-users] Re: Issue with Starting Transmitter on USRP N300 > without Using Streamers > > On Thu, Dec 12, 2024 at 11:21 AM Nidhi Panda <nidhi.pa...@cyronics.com> > wrote: > > Yes, I am currently testing with this example (rfnoc_radio_loopback.grc > <https://github.com/gnuradio/gnuradio/blob/main/gr-uhd/examples/grc/rfnoc_radio_loopback.grc>) > only. However, the example was for x300 and I am testing in n300 board. > The example works only if rx and tx streamer is present i.e. for the > following chain. > > > Hi Nidhi, > > the example has no Tx or Rx streamers, nor does it require them. If you > update the `dev_addr` variable as explained in the comment, I would expect > this example to work out of the box with an N310 device. > > Note that the N310 does not support a 200 Msps rate, so you will need to > change that also (e.g., to 125 Msps). > > [image: image.png] > > > --M > > _______________________________________________ > USRP-users mailing list -- usrp-users@lists.ettus.com > To unsubscribe send an email to usrp-users-le...@lists.ettus.com > > _______________________________________________ > USRP-users mailing list -- usrp-users@lists.ettus.com > To unsubscribe send an email to usrp-users-le...@lists.ettus.com >
_______________________________________________ USRP-users mailing list -- usrp-users@lists.ettus.com To unsubscribe send an email to usrp-users-le...@lists.ettus.com