Transmit and receive at the exact time (start in parallel not in sequence)
26 次查看(过去 30 天)
显示 更早的评论
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?
0 个评论
回答(1 个)
Raghava S N
2024-7-30
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
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Analog Devices ADALM1000 Support from Data Acquisition Toolbox 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!