Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
cs
ds
bpmid
Commits
ec34ecf8
Commit
ec34ecf8
authored
Aug 30, 2021
by
Claudio Scafuri
💬
Browse files
fixed YP_B6_READ
parent
fb86a7b7
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/BPMID.cpp
View file @
ec34ecf8
...
...
@@ -493,6 +493,8 @@ void BPMID::init_device()
attr_YP_B9_read
=&
(
local_data
.
yb_p
[
8
]);
attr_YP_B10_read
=&
(
local_data
.
yb_p
[
9
]);
attr_YP_B11_read
=&
(
local_data
.
yb_p
[
10
]);
//short straight
attr_X_SS1_read
=&
(
local_data
.
xs
[
0
]);
...
...
@@ -519,7 +521,7 @@ void BPMID::init_device()
activeThread
=
new
bpmidThread
(
this
,
&
shared_data
,
main_mutex
,
*
main_condition
,
minimumThreadRefreshPeriod
,
threadRefreshPeriod
,
beaminfhost
);
set_state
(
Tango
::
INIT
);
set_status
(
"BPMID: init ok"
);
/*----- PROTECTED REGION END -----*/
// BPMID::init_device
}
...
...
@@ -1614,7 +1616,7 @@ void BPMID::read_YP_B6(Tango::Attribute &attr)
/*----- PROTECTED REGION ID(BPMID::read_YP_B6) ENABLED START -----*/
// Set the attribute value
if
(
validY_p
){
attr
.
set_value
(
attr_Y_B6_read
);
attr
.
set_value
(
attr_Y
P
_B6_read
);
attr
.
set_date
(
last_update
);
}
else
...
...
@@ -2653,7 +2655,7 @@ void BPMID::lock_update_calculate()
validY
=
true
;
validX_p
=
true
;
validY_p
=
true
;
INFO
_STREAM
<<
"BPMID: working "
<<
endl
;
DEBUG
_STREAM
<<
"BPMID: working "
<<
endl
;
set_state
(
Tango
::
ON
);
set_status
(
"BPMID: working"
);
return
;
...
...
Write
Preview
Markdown
is supported
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