Transmit and receive at the exact time (start in parallel not in sequence)

26 visualizaciones (últimos 30 días)
I am using Adalm Pluto Rev. C for a Joint Communication-Sensing application where I need to transmit and receive a certain frame at the exact same time. By "the exact same time," I mean that the starting point in time for TX and RX should be the same.
I have tried to run TX and RX using parfor, yet it gives an error that the receiver is not connected. My interpretation is that MATLAB is sending the TX frames.
Is there any method to control Timing eather in Matlab or by Hardware?

Respuestas (1)

Raghava S N
Raghava S N el 30 de Jul. de 2024
Hi Abdelrahman,
The functionality of a “parfor-loop in MATLAB is to simplify repeated loop iterations by executing a series of statements in the loop body in parallel. It must also be ensured that the parfor-loop iterations are independent. parfor-loop iterations have no guaranteed order, while the iteration order in for-loops is sequential. Please find the MATLAB documentation on “parfor”-loop iterations- https://www.mathworks.com/help/parallel-computing/ensure-that-parfor-loop-iterations-are-independent.html. Here is a guide on when to use “parfor” from the MATLAB documentation- https://www.mathworks.com/help/parallel-computing/decide-when-to-use-parfor.html.
For simultaneous transmission and receiving using the ADALM-PLUTO hardware, please refer to this MATLAB documentation page- https://www.mathworks.com/help/comm/plutoradio/ug/setup-for-two-radios-connecting-to-one-host.html. In this example, a single ADALM-PLUTO hardware operates two independent radios that can be configured separately for transmission and receiving.
For common problems and fixes for the ADALM-PLUTO hardware, please refer to this MATLAB documentation link - https://www.mathworks.com/help/comm/plutoradio/ug/common-problems-and-fixes.html.
Hope this helps!
Raghava

Productos


Versión

R2024a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by