discuss-gnuradio
[Top][All Lists]
Advanced

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

RE: [Discuss-gnuradio] help: cannot send after transport endpoint shutdo


From: Joreen Tan
Subject: RE: [Discuss-gnuradio] help: cannot send after transport endpoint shutdown
Date: Sat, 31 Jan 2009 22:59:10 +0800

Hi,
 
i am actually trying to do a half duplex (receive) using one board (900MHz) and half duplex (transmit) using another board (1800MHz) in the same usrp. I have another usrp for the same function.
 
I actually make use of the benchmark_rx and benchmark_tx files to modify the codes to make the receiver send an acknowledgement back to the transmitter to acknowledge the receive of the packet and proceed with asking the transmitter to send the next packet. 
 
I used the following code inside the transmitter, to call the receiver to wait for an ack.
 
os.system("python benchmark_tx.py --freq 900 --bitrate 500k")
 
The program is able to activate and start to receive. However, i couldn't actually stop the receiver to go back to the transmitter mode after doing so.
 
Some help on this will be much appreciated! thanks!

Regards,
Joreen




> Date: Thu, 29 Jan 2009 11:20:59 -0800
> From: address@hidden
> To: address@hidden
> CC: address@hidden
> Subject: Re: [Discuss-gnuradio] help: cannot send after transport endpoint shutdown
>
> On Thu, Jan 29, 2009 at 01:56:43PM +0800, Joreen Tan wrote:
> >
> > If i want the usrp to act as both of a transmitter and a receiver at
> > one station, meaning i want the usrp to be able to transmit and
> > receive at the same time, which file should i activate instead?
>
> Do you want to transmit and receive simultaneously or half-duplex?
> I was under the impression that you were trying to do half-duplex.
>
> Take a look at tunnel.py for a half-duplex example.
>
> > I don't understand the following statement "Auto T/R" (Automatic
> > Transmit/Receiver switching) handles it for you. With Auto T/R
> > enabled, the receiver runs unless there are samples in the Transmit
> > FIFO. This is handled in the FGPA", could you provide some sample
> > code or example to illustrate how to achieve this
>
> See tunnel.py (it's got a lame MAC, but it demonstrates auto_tr).
>
> Eric



Chat online and in real-time with friends and family! Windows Live Messenger

reply via email to

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