Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
toolbox
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
13
Issues
13
List
Boards
Labels
Service Desk
Milestones
Iterations
Merge Requests
4
Merge Requests
4
Requirements
Requirements
List
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Operations
Operations
Incidents
Analytics
Analytics
Code Review
Insights
Issue
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Institute of Technical Acoustics (ITA)
toolbox
Commits
c53070e2
Commit
c53070e2
authored
Nov 21, 2017
by
Markus Mueller-Trapet
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bugfix for clipping detection
parent
3805ebc1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
applications/Measurement/NI_DAQ/ita_NI_daq_run.m
applications/Measurement/NI_DAQ/ita_NI_daq_run.m
+1
-1
No files found.
applications/Measurement/NI_DAQ/ita_NI_daq_run.m
View file @
c53070e2
...
...
@@ -83,7 +83,7 @@ if playback
% Check levels - Normalizing
% determine clipping limit from NI session information
outputClipping
=
1
;
% standard
for
iChannel
=
numel
(
niSession
.
Channels
)
for
iChannel
=
1
:
numel
(
niSession
.
Channels
)
isOutput
=
~
isempty
(
strfind
(
niSession
.
Channels
(
iChannel
)
.
ID
,
'ao'
));
if
isOutput
outputClipping
=
max
(
outputClipping
,
max
(
abs
(
double
(
niSession
.
Channels
(
iChannel
)
.
Range
))));
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment