How to Transmit Repeat with B200mini
14 views (last 30 days)
Show older comments
Jiyan Dogan
on 20 Aug 2022
Hey guys, im trying to transmit a signal via Ettus B200mini. My problem is how can i transmit my signal repeatedly? Is there any function like transmitRepeat() like with the Adalm Pluto SDR's?
0 Comments
Accepted Answer
Nadia Shaik
on 7 Mar 2023
Edited: Nadia Shaik
on 7 Mar 2023
Hi Jiyan,
I understand that you wish to transmit a signal repeatedly via "Ettus B200mini" and are looking for a function similar to "transmitRepeat".
Unfortunately, "transmitRepeat" supports only "E3xx" series radios and there aren't any similar functions available for "B200mini" radios. As a workaround you can use a while loop to continuosly transmit a signal.
Here is a code snippet for the same:
usrpRadio = comm.SDRuTransmitter('Platform', 'B200mini', 'IPAddress', '192.168.10.2');
usrpRadio.CenterFrequency = 2.4e9;
usrpRadio.Gain = 20;
txSig = randn(1, 10000);
while true
usrpRadio(txSig.');
end
You can modify the while loop according to your use case.
I hope the above workaround resolves your query.
2 Comments
Walter Roberson
on 7 Mar 2023
Edited: Walter Roberson
on 7 Mar 2023
https://www.mathworks.com/matlabcentral/answers/773048-transmitrepeat-function-not-found-n-matlab-2020a#comment_1391907 had a previous discussion. The image for B200 just does not support the feature so you would need to customize the image.
More Answers (1)
Sreeja
4 minutes ago
Hello,
Starting with R2026a, we have introduced a new utility, transmitRepeat, in the Communication Toolbox for USRP radios. This utility enables you to continuously transmit data in the background while also allowing you to receive data using the same radio.
You can find the documentation for transmitRepeat here:
Additionally, the comm.SDRuTransmitter and comm.SDRuReceiver System objects now support running code in the background using MATLAB’s backgroundPool, or accelerating code execution with the Parallel Computing Toolbox™ ThreadPool.
With these enhancements, you can now transmit and receive simultaneously using the B200 mini radio. We have also verified this functionality by running image transmission and reception examples using both the LTE and WLAN, with a single USRP device.
Thank you,
Sreeja
0 Comments
See Also
Categories
Find more on Communications Toolbox in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!