Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
4
4uhv
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
cs
ds
4uhv
Commits
b3f2a221
Commit
b3f2a221
authored
2 years ago
by
Claudio Scafuri
Browse files
Options
Downloads
Patches
Plain Diff
new RV_KG09 setup
parent
780e2038
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
etc/fixevents.py
+21
-0
21 additions, 0 deletions
etc/fixevents.py
etc/fixhelperapp.py
+2
-1
2 additions, 1 deletion
etc/fixhelperapp.py
with
23 additions
and
1 deletion
etc/fixevents.py
0 → 100644
+
21
−
0
View file @
b3f2a221
from
tango
import
*
gp
=
Group
(
'
sip
'
)
gp
.
add
(
'
l04/vacuum/sip*
'
)
sips
=
gp
.
get_device_list
()
for
sipname
in
sips
:
print
(
sipname
)
attname
=
sipname
+
'
/Pressure
'
sip
=
AttributeProxy
(
attname
)
cfx
=
sip
.
get_config
()
cfx
.
events
.
arch_event
.
archive_rel_change
=
'
20
'
cfx
.
events
.
arch_event
.
archive_period
=
'
3600000
'
sip
.
set_config
(
cfx
)
sip
.
poll
(
5000
)
attname
=
sipname
+
'
/State
'
sipst
=
AttributeProxy
(
attname
)
cfx
=
sipst
.
get_config
()
cfx
.
events
.
arch_event
.
archive_period
=
'
3600000
'
sipst
.
poll
(
5000
)
print
(
sipname
,
"
OK
"
)
This diff is collapsed.
Click to expand it.
etc/fixhelperapp.py
+
2
−
1
View file @
b3f2a221
...
@@ -11,9 +11,10 @@ appname = 'FourUHV-gui' #change!
...
@@ -11,9 +11,10 @@ appname = 'FourUHV-gui' #change!
db
=
Database
()
db
=
Database
()
# get list of devicese form server/instance
# get list of devicese form server/instance
instances
=
[
'
4uhv-srv/
vac_bsa03
'
]
instances
=
[
'
4uhv-srv/
kg09-01
'
,
'
4uhv-srv/kg09-02
'
]
#instances=['4uhv-srv/vac_a02']
#instances=['4uhv-srv/vac_a02']
for
instance
in
instances
:
for
instance
in
instances
:
print
(
"
instance
"
,
instance
)
devlistraw
=
[]
devlistraw
=
[]
devlistraw
=
db
.
get_device_class_list
(
instance
).
value_string
devlistraw
=
db
.
get_device_class_list
(
instance
).
value_string
idx
=
0
idx
=
0
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment