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
041baf23
Commit
041baf23
authored
Jan 18, 2022
by
Alessio Igor Bogani
Browse files
Use 10000 as pollingSleep's default
parent
7783ad18
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/Agilent4uhv.xmi
View file @
041baf23
...
...
@@ -13,7 +13,7 @@
<deviceProperties
name=
"PollingSleep"
description=
"Sleep between hardware requests made by internal thread"
>
<type
xsi:type=
"pogoDsl:IntType"
/>
<status
abstract=
"false"
inherited=
"false"
concrete=
"true"
concreteHere=
"true"
/>
<DefaultPropValue>
0
</DefaultPropValue>
<DefaultPropValue>
1000
0
</DefaultPropValue>
</deviceProperties>
<commands
name=
"State"
description=
"This command gets the device state (stored in its device_state data member) and returns it to the caller."
execMethod=
"dev_state"
displayLevel=
"OPERATOR"
polledPeriod=
"0"
>
<argin
description=
"none"
>
...
...
src/Agilent4uhvClass.cpp
View file @
041baf23
...
...
@@ -263,10 +263,10 @@ void Agilent4uhvClass::set_default_property()
// Set Default device Properties
prop_name
=
"PollingSleep"
;
prop_desc
=
"Sleep between hardware requests made by internal thread
(max value is 1000000)
"
;
prop_def
=
"0"
;
prop_desc
=
"Sleep between hardware requests made by internal thread"
;
prop_def
=
"
1000
0"
;
vect_data
.
clear
();
vect_data
.
push_back
(
"0"
);
vect_data
.
push_back
(
"
1000
0"
);
if
(
prop_def
.
length
()
>
0
)
{
Tango
::
DbDatum
data
(
prop_name
);
...
...
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