Skip to content

Commit

Permalink
Update demo_measure_loop_latency.m
Browse files Browse the repository at this point in the history
Use sendPulse.
  • Loading branch information
pablorcum authored May 27, 2024
1 parent 1c89d3f commit a23d372
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions toolbox/examples/demo_measure_loop_latency.m
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,5 @@
% Cursors must be moved manually in the SDI plot for an accurate measurement of the total delay.


%% Generate trigger
s = [0, 1, 0];
s(1000,3) = 0; % fill with zeros (TODO: this should be done in the API)
bd.generator_sequence = s;

bd.manualTrigger;
%% Send pulse
bd.sendPulse(1); % Send single pulse on port 1

0 comments on commit a23d372

Please sign in to comment.