Transmit and receive at the exact time (start in parallel not in sequence)
조회 수: 25 (최근 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!