Dear Marc, 




My name is Mike Yang, and I’m currently using the USRP X310 for my research. 




I have a few questions regarding the benchmark_rate.py script that was shared 
in the guide. I'm using Python for all my signal processing tasks. 




First, I'd like to share some thoughts on the code, if you don't mind. 

>From what I understand, this script demonstrates simultaneous signal 
>transmission and reception. The transmit signal is stored in the 
>transmit_buffer , which repeatedly sends a value of 0. 

The signal preparation seems to be handled in the benchmark_tx_rate function. 

I'm interested in transmitting a sine wave signal, and I foresee two potential 
issues: 

    1. 

How can I store a custom signal (like a sine wave) in the transmit_buffer ? 
    2. 

If the signal is longer than max_samps_per_packet , I assume it needs to be 
divided into chunks that match the max buffer size, with each chunk sent in 
sequence. Could you please confirm the best way to do this? 



On the reception side, I’m having trouble retrieving the received signal for 
analysis. I think the approach should be similar to the transmit 
side—collecting each sub-chunk of the received signal from recv_buffer in the 
benchmark_rx_rate function. 




I’ve attached my current script (test1 in jupyter notebook) to this message. 
The simultaneous transmission part appears to be working correctly, but I’m not 
receiving the expected signal on the reception side. Could you kindly help me 
identify and fix the issue? 




Thank you very much for the shared Python code and for your time and support. 




Best regards, 


Mike Yang 

Attachment: test1.ipynb
Description: Binary data

_______________________________________________
USRP-users mailing list -- usrp-users@lists.ettus.com
To unsubscribe send an email to usrp-users-le...@lists.ettus.com

Reply via email to