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
e9e94870
Commit
e9e94870
authored
Aug 24, 2018
by
Simone Liuzzo
Browse files
added input text for additional BPM to eclude
parent
418a58eb
Changes
2
Hide whitespace changes
Inline
Side-by-side
qem/qempanel2.fig
View file @
e9e94870
No preview for this file type
qem/qempanel2.m
View file @
e9e94870
...
...
@@ -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 1
6:07:38
% Last Modified by GUIDE v2.5
24-Aug
-2018 1
3: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
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