discuss-gnuradio
[Top][All Lists]
Advanced

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

[Discuss-gnuradio] usrp_server code


From: Achilleas Anastasopoulos
Subject: [Discuss-gnuradio] usrp_server code
Date: Fri, 07 Nov 2008 13:53:11 -0500
User-agent: Thunderbird 2.0.0.17 (Windows/20080914)

Hi,

I am looking at the usrp_server code in the trunk and have the following question.

Is there any difference between a tx/rx "port" and a "channel"?
I see that the usrp_server is always initialized with N_PORTS=4 tx and
N_PORTS=4 rx ports (total of 8 + one control port), but later on, we only work with d_nrx_chan = d_ntx_chan = 2 tx and rx channels.

My understanding was that ports/channels are in one-to-one correspondence. So I thought that N_PORTS is the "maximum" number of ports/channels that the server can handle.
In that case, I would expect that
the parameters d_nrx_chan, d_ntx_chan are given to the constructor and used accordingly...
The picture is more obscure considering that there is also a
D_MAX_CHANNELS = 16 in the usrp_server.h file...

What am I missing?

Thanks
Achilleas





reply via email to

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