Wireless Testbench basebandTransceiver/capture Error:capture length depends on the device buffer size
0 commentaires
Réponse acceptée
Plus de réponses (1)
Hi @Qian,
The error message indicates that the combined data capture length across specified antennas exceeds the limit (2,684,354,560 samples). According to the documentation ( https://www.mathworks.com/help/wireless-testbench/ref/basebandreceiver.capture.html ) for USRP devices like the X310, if the capture length exceeds the onboard radio buffer size (1 GB), it may bypass buffering and rely on host memory. When using a baseband transceiver, both transmit and receive operations share this buffer space. Hence, if you have an ongoing transmission, it can affect your ability to capture data. To resolve this, adjust your captureLength to ensure it remains within the device limits or manageable by your host's memory:
captureLength = 2^28; % Example reduction
You can also monitor available memory on your host before initiating a large capture to ensure sufficient space exists.
Given that you have set retryUnsuccessfulCaptures to true, ensure that the retry mechanism appropriately handles captures that fail due to memory issues. After making adjustments, run a test with smaller capture lengths incrementally until you find a stable configuration that works without errors.
If you continue to experience issues, consider checking the configuration of your baseband transceiver and the available memory on your host computer.
Hope this helps.
4 commentaires
Voir également
Catégories
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!