Commit ae924bf1 authored by Simone Liuzzo's avatar Simone Liuzzo

MeasureOrbitResponseMatrix: reintroduced try catch for each corrector in the scan

parent 1625a9bc
...@@ -453,7 +453,7 @@ bv(2).YDataSource ='stdv'; ...@@ -453,7 +453,7 @@ bv(2).YDataSource ='stdv';
disp(['Measure Orbit RM for ' num2str(length(hlist)) ' / ' num2str(NHall) ' horizontal correctors']); disp(['Measure Orbit RM for ' num2str(length(hlist)) ' / ' num2str(NHall) ' horizontal correctors']);
for ii = 1:length(hlist) for ii = 1:length(hlist)
% try try
% measure % measure
resp = measure('H',deltah,ii); resp = measure('H',deltah,ii);
...@@ -469,10 +469,10 @@ for ii = 1:length(hlist) ...@@ -469,10 +469,10 @@ for ii = 1:length(hlist)
refreshdata(axH,'caller'); refreshdata(axH,'caller');
drawnow; drawnow;
% catch err catch err
% disp(err); disp(err);
% error(['Error evaluating response for ' hnames{ii}]); error(['Error evaluating response for ' hnames{ii}]);
% end end
end end
if RF if RF
...@@ -503,7 +503,7 @@ end ...@@ -503,7 +503,7 @@ end
disp(['Measure Orbit RM for ' num2str(length(vlist)) ' / ' num2str(NVall) ' vertical correctors']); disp(['Measure Orbit RM for ' num2str(length(vlist)) ' / ' num2str(NVall) ' vertical correctors']);
for ii = 1:length(vlist) for ii = 1:length(vlist)
% try try
% measure % measure
resp = measure('V',deltav,ii); resp = measure('V',deltav,ii);
...@@ -519,10 +519,10 @@ for ii = 1:length(vlist) ...@@ -519,10 +519,10 @@ for ii = 1:length(vlist)
refreshdata(axV,'caller'); refreshdata(axV,'caller');
drawnow; drawnow;
% catch err catch err
% disp(err); disp(err);
% error(['Error evaluating response for ' vnames{ii}]); error(['Error evaluating response for ' vnames{ii}]);
% end end
end end
save(['OrbitResponseMatrix' measurementtime '.mat'],... save(['OrbitResponseMatrix' measurementtime '.mat'],...
......
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