Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Institute of Technical Acoustics (ITA)
toolbox
Commits
e39ac5d8
Commit
e39ac5d8
authored
Oct 19, 2017
by
Jan-Gerrit Richter
Browse files
reset measurement setup repetitions after measurement
parent
08d7dc32
Changes
1
Hide whitespace changes
Inline
Side-by-side
applications/Hardware/ITAMotorControl/ClassStuff/itaMotorControl/test_itaEimarMotorControl.m
View file @
e39ac5d8
...
...
@@ -95,6 +95,7 @@ classdef test_itaEimarMotorControl < itaMeasurementTasksScan
wait
=
true
;
% Status - do we wait for motors to reach final position? -> Set by prepare-functions!
mMotorControl
=
[];
mRepetitionsSave
=
0
;
end
% *********************************************************************
properties
(
Constant
,
Hidden
=
true
)
...
...
@@ -206,6 +207,7 @@ classdef test_itaEimarMotorControl < itaMeasurementTasksScan
% the pre angle is needed because the measurement setup will
% not start recording imidiately
numRepetitions
=
this
.
measurementSetup
.
repetitions
;
this
.
measurementSetup
.
repetitions
=
numRepetitions
;
timePerRepetition
=
this
.
measurementSetup
.
twait
*
length
(
this
.
measurementSetup
.
outputChannels
);
speed
=
360
/(
numRepetitions
*
timePerRepetition
);
motorControl
=
this
.
getMotorControl
;
...
...
@@ -259,7 +261,7 @@ classdef test_itaEimarMotorControl < itaMeasurementTasksScan
result
=
this
.
measurementSetup
.
deconvolve
(
result_raw
);
% this.stop;
this
.
mMotorControl
.
setWait
(
true
);
this
.
measurementSetup
.
repetitions
=
this
.
mRepetitionsSave
;
% add history line
commitID
=
ita_git_getMasterCommitHash
;
if
~
isempty
(
commitID
)
...
...
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