Commit e9e94870 authored by Simone Liuzzo's avatar Simone Liuzzo
Browse files

added input text for additional BPM to eclude

parent 418a58eb
No preview for this file type
......@@ -22,7 +22,7 @@ function varargout = qempanel2(varargin)
% Edit the above text to modify the response to help qempanel2
% Last Modified by GUIDE v2.5 13-Mar-2018 16:07:38
% Last Modified by GUIDE v2.5 24-Aug-2018 13:52:09
% Begin initialization code - DO NOT EDIT
gui_Singleton = 1;
......@@ -640,4 +640,34 @@ if get(handles.PartialRMcheckbox,'Value') % FULL/PARTIAL
set(handles.FullRMcheckbox,'Value',1.0)
disp('Force Full for AC measurement')
end
\ No newline at end of file
function ExcludeBPMList_Callback(hObject, eventdata, handles)
% hObject handle to ExcludeBPMList (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
% Hints: get(hObject,'String') returns contents of ExcludeBPMList as text
% str2double(get(hObject,'String')) returns contents of ExcludeBPMList as a double
global qemres
str = get(hObject,'String');
a=cellfun(@str2double,strsplit(str,','));
% append to already excluded BPMs
qemres.wrongbpms = [qemres.wrongbpms a];
% --- Executes during object creation, after setting all properties.
function ExcludeBPMList_CreateFcn(hObject, eventdata, handles)
% hObject handle to ExcludeBPMList (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles empty - handles not created until after all CreateFcns called
% Hint: edit controls usually have a white background on Windows.
% See ISPC and COMPUTER.
if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
set(hObject,'BackgroundColor','white');
end
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