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

fixed proble with format of text and changed Excluded to Excude

parent e9e94870
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 24-Aug-2018 13:52:09
% Last Modified by GUIDE v2.5 24-Aug-2018 14:19:48
% Begin initialization code - DO NOT EDIT
gui_Singleton = 1;
......@@ -656,7 +656,11 @@ str = get(hObject,'String');
a=cellfun(@str2double,strsplit(str,','));
% append to already excluded BPMs
qemres.wrongbpms = [qemres.wrongbpms a];
qemres.wrongbpms = unique([qemres.wrongbpms a]);
mess=[num2str(length(qemres.wrongbpms)) ' bpms not used: ' num2str(qemres.wrongbpms,'%d ')];
set(handles.text3,'String',mess);
pushbutton2_Callback(hObject, eventdata, handles); % qem check response
% --- Executes during object creation, after setting all properties.
function ExcludeBPMList_CreateFcn(hObject, eventdata, handles)
......@@ -669,5 +673,3 @@ function ExcludeBPMList_CreateFcn(hObject, eventdata, handles)
if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
set(hObject,'BackgroundColor','white');
end
......@@ -125,6 +125,7 @@ try
qemres.wrongbpms = find(bpms_dev.All_Status.read~=0); % index of BPMS that are not green in libera manager.
catch err
disp(err);
qemres.wrongbpms = [];
warning('tango not available');
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