Re: RX/TX switching

2022-03-04 Thread Fabien PELLET
I'm actually on 3.9.5 but I will investigate on the PDUs to know if it could help me. RX and TX period are completly random  from hundreds of milliseconds to several seconds. Thanks for your help, Best regards, Fabien, F4CTZ. Le 04/03/2022 à 13:31, Johannes Demel a écrit : Hi Fabien, Per

Re: RX/TX switching

2022-03-04 Thread Johannes Demel
Hi Fabien, Personally, I use PDUs to control when TX starts. GR 3.10 integrated a lot more of these. https://github.com/gnuradio/gnuradio/tree/main/gr-pdu Besides, the gr-pdu_utils OOT might be a good reference. https://github.com/sandialabs/gr-pdu_utils It mentions SOB/EOB in their docs. EOB i

Re: RX/TX switching

2022-03-04 Thread Fabien PELLET
Hi Johannes, Yes this is exactly my problem : after unlocking the flowgraph, I get some underruns (only, no overrun). Do you have an example of code using EOB/SOB ? Ok for sending EOB before locking but is it necessary to send a SOB also and when ? Your suggestion of idling the TX flowgraph

Re: RX/TX switching

2022-03-04 Thread Johannes Demel
Hi Fabien, do those underruns occur after you lock/unlock and switch from TX to RX or vice versa? Do you see overruns as well? I'd assume the USRP expects a constant sample flow and even a short interuption, like your lock/unlock task interrupts that flow. Still assuming this is the root caus