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
4uhv
Commits
1e184e6c
Commit
1e184e6c
authored
Mar 30, 2022
by
Alessio Igor Bogani
Browse files
Fix the status reported to panels
parent
246a751b
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/Agilent4uhv.cpp
View file @
1e184e6c
...
...
@@ -1302,10 +1302,15 @@ void Agilent4uhv::read_StatMaskX(Tango::Attribute &attr)
string
fs
;
read_window_from_cache
(
603
,
fs
);
if
(
fs
[
fs
.
size
()
-
channel
]
==
'
1
'
)
if
(
fs
[
fs
.
size
()
-
channel
]
==
'
0
'
)
*
att_value
|=
0x1
<<
3
;
// FIXME bit 4,5,6 and 7 aren't implemented
string
sp
;
read_window_from_cache
(
602
,
sp
);
if
(
sp
[
sp
.
size
()
-
channel
]
==
'1'
)
*
att_value
|=
0x1
<<
4
;
// FIXME bits 5,6 and 7 aren't implemented
attr
.
set_value
(
att_value
);
...
...
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