finish coding and testing of online acq; add sample data

串行在线捕获程序已经完成编写,并进行了仿真和测试(对飞和814均可用);增加了在电子所使用转台测试的幅相采集数据
This commit is contained in:
2023-05-08 19:13:53 +08:00
parent e07389e326
commit 2d4650a3b6
2835 changed files with 408373 additions and 181193 deletions
Binary file not shown.
1 version https://git-lfs.github.com/spec/v1
2 oid sha256:da2a5e413ed5888360149258ef98042e72a3f49c6b126285c407d221206343b0
3 size 5696542
Binary file not shown.
1 version https://git-lfs.github.com/spec/v1
2 oid sha256:311cc1b3564a4da4ae7ab36b636ceca61d2e8d65e52567825399be34c10a205d
3 size 5487793
Binary file not shown.
1 version https://git-lfs.github.com/spec/v1
2 oid sha256:657cb426ba63d035ab3770f34507ce4cd5af029740ff483bff4afac61c7fe405
3 size 4953881
Binary file not shown.
1 version https://git-lfs.github.com/spec/v1
2 oid sha256:fb6a9679fcbde08a28d17d03e42f8dfdc221c1806758e3d74bd28ef146771817
3 size 4945576
Binary file not shown.
1 version https://git-lfs.github.com/spec/v1
2 oid sha256:0145e254692b5dd671b20917aaea4e2fbf4729be82979714fb09278cb1798a8a
3 size 4939528
Binary file not shown.
1 version https://git-lfs.github.com/spec/v1
2 oid sha256:dd4797a467476ed843b806dae7d7635a47160ae1c19990c253e884f4059152fa
3 size 4950262
Binary file not shown.
1 version https://git-lfs.github.com/spec/v1
2 oid sha256:581d94321adb4bb67c689698392e108e45049ca9ec24aa30461b7a2cd3d5ecb2
3 size 4955546
Binary file not shown.
1 version https://git-lfs.github.com/spec/v1
2 oid sha256:5a327fa69eca5691f0e5d7405de8f0b73e357da4b5738c814fa937d96c1ccf2e
3 size 4955228
Binary file not shown.
1 version https://git-lfs.github.com/spec/v1
2 oid sha256:bdde224a0bedcdf95e2d8eb249539cecd05005a2514c4d47f1e9fc598c323ce7
3 size 4949022
Binary file not shown.
1 version https://git-lfs.github.com/spec/v1
2 oid sha256:f16321cdcaee69fcc544a29ebe1f87fba10899b2357980539a3d4ba84b5e45ce
3 size 4948924
Binary file not shown.
1 version https://git-lfs.github.com/spec/v1
2 oid sha256:da3cb42b282f8f2455f0a59b1311b7e96c6c5780b773a19027f6ef4996d121a9
3 size 4959851
@@ -0,0 +1,44 @@
close all;
% 4 ch
fileNameList = [...
"iladata_duifei_1t2r_48msps_bw15m_trx_ext_lo_noise_1-1.csv",...
"iladata_duifei_1t2r_48msps_bw15m_trx_ext_lo_noise_1-2.csv",...
"iladata_duifei_1t2r_48msps_bw15m_trx_ext_lo_noise_1-3.csv",...
"iladata_duifei_1t2r_48msps_bw15m_trx_ext_lo_noise_2-1.csv",...
"iladata_duifei_1t2r_48msps_bw15m_trx_ext_lo_noise_2-2.csv",...
"iladata_duifei_1t2r_48msps_bw15m_trx_ext_lo_noise_2-3.csv",...
"iladata_duifei_1t2r_48msps_bw15m_trx_ext_lo_noise_3-1.csv",...
"iladata_duifei_1t2r_48msps_bw15m_trx_ext_lo_noise_3-2.csv",...
"iladata_duifei_1t2r_48msps_bw15m_trx_ext_lo_noise_3-3.csv"
];
[~,fileNum] = size(fileNameList);
maxList = strings(fileNum+1,5);
stdList = strings(fileNum+1,5);
maxList(1,:) = ["Max Value", "ch1", "ch2", "ch3", "ch4"];
maxList(2:end,1) = fileNameList;
stdList(1,:) = ["Std Value", "ch1", "ch2", "ch3", "ch4"];
stdList(2:end,1) = fileNameList;
for i = 1:fileNum
rxRaw = readmatrix(fileNameList(:,i));
[rowNum,colNum] = size(rxRaw);
if (colNum == 11)
rx = [rxRaw(:, 4)+1i*rxRaw(:, 5),rxRaw(:, 6)+1i*rxRaw(:, 7),...
rxRaw(:, 8)+1i*rxRaw(:, 9),rxRaw(:,10)+1i*rxRaw(:,11)];
elseif (colNum == 7)
rx = [rxRaw(:, 4)+1i*rxRaw(:, 5),rxRaw(:, 6)+1i*rxRaw(:, 7),...
zeros(rowNum,1),zeros(rowNum,1)];
else
disp('Invalid Data Format.')
return
end
maxList(i+1,2:end) = string(max(rx));
stdList(i+1,2:end) = string(std(rx));
end