Skip to content

Commit

Permalink
Remove read-only SamplingFrequency property
Browse files Browse the repository at this point in the history
Signed-off-by: Apelete Seketeli <[email protected]>
  • Loading branch information
apelete committed Oct 5, 2023
1 parent a8e56a8 commit 58b10df
Showing 1 changed file with 1 addition and 11 deletions.
12 changes: 1 addition & 11 deletions +adi/+AD4020/Rx.m
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,6 @@
VoltageOffset
end

properties
% SamplingFrequency
% Sampling Frequency in Hertz.
SamplingFrequency = 0
end

% Channel names
properties (Nontunable, Hidden, Constant)
channel_names = {'voltage0'}
Expand Down Expand Up @@ -101,11 +95,7 @@

%% API Functions
methods (Hidden, Access = protected)

function setupInit(obj)
% Write sampling frequency attribute from device once connected.

obj.SamplingFrequency = obj.getDeviceAttributeLongLong('sampling_frequency');
function setupInit(~)
end
end
end

0 comments on commit 58b10df

Please sign in to comment.