diff --git a/+adi/+AD463x/Base.m b/+adi/+AD463x/Base.m index 2686242..7a8051e 100644 --- a/+adi/+AD463x/Base.m +++ b/+adi/+AD463x/Base.m @@ -61,25 +61,6 @@ obj.EnabledChannels = 1; obj.BufferTypeConversionEnable = true; - % Check if uri has been specified, else throw an error - uriFound = 0; - for i = 1:length(varargin) - if isequal(varargin{i}, 'uri') - if i == length(varargin) - break - else - uriArgIndex = find(contains([varargin{:}], 'uri')); - obj.uri = varargin{uriArgIndex + 1}; - uriFound = 1; - end - end - end - if uriFound == 0 - error("Error. \nUri was not supplied. Supply it in the" + ... - " following manner \n %s", ... - "adi.ADXXXX.Rx('uri', )"); - end - % Connects to device temporarily and fetches the channel names obj.setup(); release(obj); diff --git a/+adi/+AD7380/Rx.m b/+adi/+AD7380/Rx.m index e880f12..f473a21 100644 --- a/+adi/+AD7380/Rx.m +++ b/+adi/+AD7380/Rx.m @@ -65,7 +65,6 @@ obj.enableExplicitPolling = false; obj.EnabledChannels = 1; obj.BufferTypeConversionEnable = true; - obj.uri = 'ip:analog.local'; end function flush(obj) diff --git a/+adi/+AD7768/Rx.m b/+adi/+AD7768/Rx.m index 0869a22..8e24374 100644 --- a/+adi/+AD7768/Rx.m +++ b/+adi/+AD7768/Rx.m @@ -63,7 +63,6 @@ obj.enableExplicitPolling = false; obj.EnabledChannels = 1; obj.BufferTypeConversionEnable = true; - obj.uri = 'ip:analog.local'; end function flush(obj) diff --git a/+adi/+AD7768_1/Rx.m b/+adi/+AD7768_1/Rx.m index 8004a40..98419f9 100644 --- a/+adi/+AD7768_1/Rx.m +++ b/+adi/+AD7768_1/Rx.m @@ -71,7 +71,6 @@ obj.enableExplicitPolling = false; obj.EnabledChannels = 1; obj.BufferTypeConversionEnable = true; - obj.uri = 'ip:analog.local'; end function flush(obj)