[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Discuss-gnuradio] Multi USRP on Single Computer

From: njm25
Subject: Re: [Discuss-gnuradio] Multi USRP on Single Computer
Date: Sun, 04 Mar 2007 17:51:34 -0500

Thanks for the reply.  I'm pretty new to GNU radio so I'm still not sure 
exactly what I need to do (I don't know about the whole "which" constructor 
thing).  All I've been able to do so far is run the examples and modify them as 
needed (minor changes).  I don't need to know which board is which (sending and 
receiving), just as long as 1 is sending and 1 is receiving.  I've looked at 
the multi_usrp_rx_cfile.py example, and I understand that this example is for 
synch-ing 2 boards to both receive, but I don't know if I can use some of the 
same code for my purpose.  The code that looked interesting to me is:

# build the graph
        self.multi=usrp_multi.multi_source_align( fg=self, 
master_serialno=options.master_serialno, decim=options.decim, 
                                                  nchan=options.nchan )

        dst_m=gr.file_sink (gr.sizeof_gr_complex, options.output_file_m)
        dst_s=gr.file_sink (gr.sizeof_gr_complex, options.output_file_s)
        if options.nsamples is None:
            head_m = gr.head(gr.sizeof_gr_complex, int(options.nsamples))
            head_s = gr.head(gr.sizeof_gr_complex, int(options.nsamples))

Can I use this portion of code and just make the small changes to make 1 a 
source instead of a sink?  Also, the first line about the source_align... is 
that for the synchronizing of the 2 boards (which I wouldn't need)?

Thanks for the help,

----- Original Message -----
From: Eric Blossom <address@hidden>
Date: Friday, March 2, 2007 12:27 pm
Subject: Re: [Discuss-gnuradio] Multi USRP on Single Computer

> On Fri, Mar 02, 2007 at 10:41:06AM -0500, address@hidden wrote:
> > I want to connect 2 USRPs to a single computer (1 to tranmsit 
> and 1
> > to receive).  I saw the examples in the multi-usrp directory, but
> > they allow you to hook up 2 USRPs together so they will both
> > receive.  I'm guessing that I don't even have to hook them up if 1
> > and transmitting and 1 is receiving, but I might still need the
> > whole serial number code of each board to tell which one to transmit
> > and receive.  It doesn't seem like it should be hard, but I'm not
> > sure.  Any help would be greatly appreciated.
> No need to interconnect the two boards.  You can specify which board
> to open using the "which" constructor argument.  The problem with that
> is that you really don't know which board you're getting.  After
> opening it, check the serial_number()
> Note that unless you machine has two ECHI controllers (not two ports),
> your total aggregate bandwidth between the two boards is limited to
> about 32MB/s.
> Eric

reply via email to

[Prev in Thread] Current Thread [Next in Thread]