Skip to content

Commit

Permalink
Release tx
Browse files Browse the repository at this point in the history
Signed-off-by: Julia Pineda <Julia.Pineda@analog.com>
  • Loading branch information
jpineda3 committed Mar 13, 2024
1 parent 6073957 commit a72796d
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions test/AD9081HWTests.m
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,8 @@ function testAD9081RxWithTxDDS(testCase)
end
sr = rx.SamplingRate;
rx.release();

tx.release();

% plot(real(out));
% testCase.estFrequency(out,rx.SamplingRate);
freqEst = meanfreq(double(real(out)),sr);
Expand Down Expand Up @@ -162,7 +163,8 @@ function testAD9081RxWithTxDDSTwoChan(testCase)
end
sr = rx.SamplingRate;
rx.release();

tx.release();

% plot(real(out));
% testCase.estFrequency(out,sr);
freqEst1 = testCase.estFrequencyMax(out(:,1),sr,true,'TwoChanDDS_Chan1');
Expand Down Expand Up @@ -215,6 +217,7 @@ function testAD9081RxWithTxData(testCase)
end
sr = rx.SamplingRate;
rx.release();
tx.release();

% plot(real(out));
freqEst = meanfreq(double(real(out)),sr);
Expand Down Expand Up @@ -269,6 +272,7 @@ function testAD9081RxWithTxDataTwoChan(testCase)
end
sr = rx.SamplingRate;
rx.release();
tx.release();

% plot(real(out));
% testCase.estFrequency(out,rx.SamplingRate);
Expand Down

0 comments on commit a72796d

Please sign in to comment.