Commit 189f72b3 authored by Markus Mueller-Trapet's avatar Markus Mueller-Trapet

bugfix for input clipping indication

parent bc16cfd9
......@@ -174,7 +174,7 @@ clipping = false;
if record
% determine clipping limit from NI session information
clippingLimit = Inf;
for iChannel = numel(niSession.Channels)
for iChannel = 1:numel(niSession.Channels)
isInput = ~isempty(strfind(niSession.Channels(iChannel).ID,'ai'));
if isInput
clippingLimit = min(clippingLimit,max(abs(double(niSession.Channels(iChannel).Range))));
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment