Skip to content

Commit 8192743

Browse files
committed
updated reconstruction_main.m
1 parent a50f796 commit 8192743

135 files changed

Lines changed: 5008 additions & 5392 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
-19.1 KB
Binary file not shown.

macros/tbs_core_board/reconstruction/figures/testing.csv

Lines changed: 638 additions & 1062 deletions
Large diffs are not rendered by default.
-107 KB
Binary file not shown.

macros/tbs_core_board/reconstruction/reconstruction_main.m

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
% =====================================================
2828

2929
%% Reconstruction Settings
30-
tbs_mode = 1; % 0... TBS; 1... ATBS
30+
tbs_mode = 0; % 0... TBS; 1... ATBS
3131
trigger_mode = 0; % 0... manually; 1... auto (UART) --> change control_mode_i Switch to UART
3232
com_interface = 0; % 0... UART TX; 1... Ethernet TX; 2... Reconstruct Data (reading data)
3333
auto = 1; % 0... manually; 1... auto (UART) --> change control_mode_i Switch to UART
@@ -123,9 +123,9 @@
123123
if com_interface ~= 2 && auto == 1 % UART (auto)
124124
fprintf("Auto Mode: Setting up digital core via UART... \n");
125125

126-
write(device, "R", "char"); % Reset
127-
fprintf("Reset digital core. \n");
128-
pause(0.5);
126+
% write(device, "R", "char"); % Reset
127+
% fprintf("Reset digital core. \n");
128+
% pause(0.5);
129129

130130
write(device, "1", "char"); % Start sampling on trigger
131131
fprintf("Start sampling on trigger. \n");
@@ -385,8 +385,8 @@
385385
% =====================================================
386386

387387
%% Plotting Results
388-
ecg_data = load('..\Measurements\Generate_ECG\data\ecg_data_0.15V_3.15V.mat');
389-
% ecg_data = load('..\Measurements\Generate_ECG\data\ecg_data_0.3V_2.4V.mat');
388+
ecg_data = load('..\measurements\generate_ecg\data\ecg_data_0.15V_3.15V.mat');
389+
% ecg_data = load('..\measurements\generate_ecg\data\ecg_data_0.3V_2.4V.mat');
390390

391391
if ecg_or_sine == 0 % sine
392392
t_analog = 0:1/ecg_data.N:3 - 1/ecg_data.N;
56 KB
Binary file not shown.

0 commit comments

Comments
 (0)