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
sfe
Commits
688bb054
Commit
688bb054
authored
Oct 23, 2019
by
Graziano Scalamera
Browse files
Fix set PMTvoltage at reconnection
parent
580cf8a3
Changes
1
Show whitespace changes
Inline
Side-by-side
src/SFE.cpp
View file @
688bb054
...
...
@@ -266,8 +266,8 @@ void SFE::always_executed_hook()
try
{
Tango
::
MultiAttribute
*
attr_list
=
get_device_attr
();
Tango
::
WAttribute
&
attr
=
attr_list
->
get_w_attr_by_name
(
"PMT
V
oltage"
);
Tango
::
Dev
Double
w_val
;
Tango
::
WAttribute
&
attr
=
attr_list
->
get_w_attr_by_name
(
"PMT
v
oltage"
);
Tango
::
Dev
Long
w_val
;
attr
.
get_write_value
(
w_val
);
stringstream
cmd
;
cmd
<<
"SV:"
<<
w_val
;
...
...
@@ -276,7 +276,7 @@ void SFE::always_executed_hook()
}
catch
(
Tango
::
DevFailed
&
e
)
{
INFO_STREAM
<<
__func__
<<
": error initializing PMT
V
oltage after reconnection: "
<<
e
.
errors
[
0
].
desc
;
INFO_STREAM
<<
__func__
<<
": error initializing PMT
v
oltage after reconnection: "
<<
e
.
errors
[
0
].
desc
;
}
}
...
...
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