Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
BeamDynamics
matutil
Commits
c515c66c
Commit
c515c66c
authored
Aug 24, 2018
by
Simone Liuzzo
Browse files
fixed proble with format of text and changed Excluded to Excude
parent
e9e94870
Changes
3
Hide whitespace changes
Inline
Side-by-side
qem/qempanel2.fig
View file @
c515c66c
No preview for this file type
qem/qempanel2.m
View file @
c515c66c
...
...
@@ -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 1
3:52:09
% Last Modified by GUIDE v2.5 24-Aug-2018 1
4: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
qem/qempanelset.m
View file @
c515c66c
...
...
@@ -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
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment