Commit 61a3f376 authored by Simone Liuzzo's avatar Simone Liuzzo

WIP horizontal correctors number

parent 4ea497ab
......@@ -242,6 +242,7 @@ function pushbutton8_Callback(hObject, eventdata, handles)
% handles structure with handles and user data (see GUIDATA)
%set(hObject,'Enable','Off');
global qemres
status =0; % initialize to good status (0 = no error)
if get(handles.DCRMcheckbox,'Value') % DC/AC DC measurement
if get(handles.PartialRMcheckbox,'Value') % FULL/PARTIAL
set(handles.statustext,'String','DC Partial RM measurement in progress');
......@@ -250,8 +251,16 @@ if get(handles.DCRMcheckbox,'Value') % DC/AC DC measurement
end
rc = RingControl('ebs-simu');
rc.MeasureOrbitResponseMatrix('Hsteerer',qemres.hlist,'Vsteerer',qemres.vlist);
warning('qempanel still considers 288 steerers! as in ebs.model!')
nkt = 384;
allsteer=(1:nkt);
allsteer([5:12:end,7:12:end,8:12:end])=[];
steerlist=allsteer(qemres.hlist);
curdir = pwd;
cd(qemres.datadir);
rc.MeasureOrbitResponseMatrix('Hsteerer',steerlist,'Vsteerer',qemres.vlist);
cd(curdir);
else % AC rm measurement
% ADD WARNING MESSAGE or question window to test FOFB is running.
......
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