From a72796d7fb9a784641d1c991704a1932c55c9489 Mon Sep 17 00:00:00 2001 From: Julia Pineda Date: Tue, 13 Feb 2024 18:03:30 +0800 Subject: [PATCH] Release tx Signed-off-by: Julia Pineda --- test/AD9081HWTests.m | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/test/AD9081HWTests.m b/test/AD9081HWTests.m index aa75b137..eae9c642 100644 --- a/test/AD9081HWTests.m +++ b/test/AD9081HWTests.m @@ -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); @@ -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'); @@ -215,6 +217,7 @@ function testAD9081RxWithTxData(testCase) end sr = rx.SamplingRate; rx.release(); + tx.release(); % plot(real(out)); freqEst = meanfreq(double(real(out)),sr); @@ -269,6 +272,7 @@ function testAD9081RxWithTxDataTwoChan(testCase) end sr = rx.SamplingRate; rx.release(); + tx.release(); % plot(real(out)); % testCase.estFrequency(out,rx.SamplingRate);