Commit 1aab4dc1 authored by Simone Liuzzo's avatar Simone Liuzzo
Browse files

AC RM forced to FULL RM

parent 8674b781
......@@ -238,7 +238,7 @@ function pushbutton8_Callback(hObject, eventdata, handles)
% handles structure with handles and user data (see GUIDATA)
%set(hObject,'Enable','Off');
global qemres
if get(handles.DCRMcheckbox,'Value') % DC/AC
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');
[status,out]=termappli('respmat.py -i foc','response matrix',qemres.datadir);
......@@ -246,14 +246,22 @@ if get(handles.DCRMcheckbox,'Value') % DC/AC
set(handles.statustext,'String','DC Full RM measurement in progress');
[status,out]=termappli('respmat.py -i -g 0 full','response matrix',qemres.datadir);
end
else
set(handles.statustext,'String','AC RM measurement not available.ABORT');
else % AC rm measurement
if get(handles.PartialRMcheckbox,'Value') % FULL/PARTIAL
set(handles.PartialRMcheckbox,'Value',0.0)
set(handles.FullRMcheckbox,'Value',1.0)
disp('Force Full for AC measurement')
end
set(handles.statustext,'String','AC RM measurement');
end
set(hObject,'Enable','On');
if status ~= 0, error('qem:noexec',out); end
set(handles.statustext,'String','measurement completed');
% --- Executes on button press in pushbutton9 : initial errors
function pushbutton9_Callback(hObject, eventdata, handles)
% hObject handle to pushbutton9 (see GCBO)
......
Supports Markdown
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