Hey guys, thanks in advance.
I am developing a SAR passive radar in MATLAB with LimeSDR, and Im using jocover and rakhDamir programs to use LimeSDR in MATLAB.
However, I need to keep LimeSDR always receiveing, and with that program I only receive while LimeSDR is getting Fs*Ts samples. Is there anyway I can tell LimeSDR to stop receive when I want, and then when it stops, save all the samples in a file, thank you a lot
This is the code I have
% Start the module
dev.start();
fprintf('Start of LimeSDR\n');
% Receive samples on RX0 channel
indRx = 1;
[samples, ~, samplesLength] = dev.receive(Fs*Ts,0);
bufferRx(indRx:indRx+samplesLength-1) = samples;
% Receive samples on RX1 channel
indRx1 = 1; % index of the last received sample
[samples1, ~, samplesLength1] = dev.receive(Fs*Ts,1);
bufferRx1(indRx1:indRx1+samplesLength1-1) = samples1;
pause(1)
% Cleanup and shutdown by stopping the RX stream and having MATLAB delete the handle object.
dev.stop();
clear dev;
fprintf('Stop of LimeSDR\n');