Skip to content

Commit

Permalink
Enable tuning of marker_pulse_width_sec.
Browse files Browse the repository at this point in the history
Update documentation.
  • Loading branch information
pablorcum committed Aug 8, 2024
1 parent a839f1a commit 684645f
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 1 deletion.
Binary file modified docSource/bossdevice_api_functions.mlx
Binary file not shown.
2 changes: 1 addition & 1 deletion toolbox/dependencies/+bossapi
9 changes: 9 additions & 0 deletions toolbox/src/bossdevice.m
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
generator_sequence
num_eeg_channels
num_aux_channels
marker_pulse_width_sec
end

properties (SetAccess = private, Dependent)
Expand Down Expand Up @@ -344,6 +345,14 @@ function stop(obj)
setparam(obj, 'UDP', 'num_aux_channels', n);
end

function val = get.marker_pulse_width_sec(obj)
val = getparam(obj, 'GEN', 'marker_pulse_width_sec');
end

function set.marker_pulse_width_sec(obj, val)
setparam(obj, 'GEN', 'marker_pulse_width_sec', val);
end

function obj = configure_generator_sequence(obj, sequence)
arguments
obj bossdevice
Expand Down

0 comments on commit 684645f

Please sign in to comment.