Tx and Rx samples from/to file - USRP

    Start To launch labAlive simulation applications you need a Java Runtime Environment supporting Java Web Start on your system. Here you can get more information about installing the right Java version. title="Start via Windows Batch Start" onclick="gtag('event', 'TxRxSamples', {'event_category': 'Launch bat', 'event_label': 'Tx and Rx samples from/to file - USRP'});">
Mainwindow
Transmit and receive samples from/to file with USRP


This experiment can be used to send a .shortc file filled with complex samples or to receive a signal with the USRP and save the samples to a .shortc file.

Transmit samples from file

Mainwindow
The first thing you have to do is to set the "Rate (Bandwidth)" in the properties-window, because the experiment will restart to set the new rate properly.The restart will reset all other settings to default. This value is the sample rate for the ADC/DAC in the USRP.


Mainwindow
After that you have to select the .shortc file you want to send via USRP. You can choose your file by clicking the "Select sample file" - button in the "Samples from File - Properties" - window.


Mainwindow
The file-selector will open. Go to the location where your sample file is saved an choose your file.


Mainwindow
The "Samples from file - Spectrum Analyzer" moves and shows the spectrum of your signal from the sample file if it is completely loaded.


Mainwindow
Now you have to configure some parameters in the "Samples from file - Properties" - window which the USRP needs to send your file correctly.




Mainwindow
Make sure that the transmission antenna is connected to the RF 1 - connector at the USRP


Mainwindow
If all settings for transmission are set as required, the samples can be sent from file by clicking the "Start tx_samples_from_file" - button in the "Samples from File-Properties" - window.




Receive samples with the USRP and save them to a file

To receive complex samples and save them to a file you need to generate a new .shortc file or choose an existing file to overwrite with the new received samples.

Mainwindow
If you want to overwrite an existing file, use the file-selector to choose the file you want to overwrite.


Mainwindow
If you want to generate a new file, you have to use the "Signal logging" - function. You can open the Signal-Logger by right clicking on the arrow in the main window and choose "Signal logging"


Mainwindow
The "Samples from file - Signal logging" will open and you have to click on the little gear on the right to open the settings.


Mainwindow
Now you have to choose how many samples you want to save into your file. The "Number of samples" determines the duration of the reception process. After that, click onto the "Save As..." - button and choose a location and a name for your samples file. To generate the file, click onto the "Start save samples to file" - button.






Mainwindow
Now you have to configure your receiver settings.




Mainwindow
Make sure that the receive antenna is connected to the RF 2 - connector at the USRP


Mainwindow
If all settings for the receiver are set as required, the samples can be received and saved into the file by clicking the "Start rx_samples_to_file" - button in the "Samples from File - Properties" - window.