Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
R
rpc2tango-bridge
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
rpc2tango-bridge
Commits
b28ab29f
Commit
b28ab29f
authored
3 years ago
by
Claudio Scafuri
Browse files
Options
Downloads
Patches
Plain Diff
add vlfvfe
parent
6c99c80e
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
etc/fixevents.py
+12
-0
12 additions, 0 deletions
etc/fixevents.py
with
12 additions
and
0 deletions
etc/fixevents.py
+
12
−
0
View file @
b28ab29f
...
@@ -4,6 +4,7 @@
...
@@ -4,6 +4,7 @@
from
tango
import
*
from
tango
import
*
sip120
=
DeviceProxy
(
'
rpcbridge/rpc2tangobridge/sip120
'
)
sip120
=
DeviceProxy
(
'
rpcbridge/rpc2tangobridge/sip120
'
)
sip400
=
DeviceProxy
(
'
rpcbridge/rpc2tangobridge/sip400
'
)
sip400
=
DeviceProxy
(
'
rpcbridge/rpc2tangobridge/sip400
'
)
vlvfe
=
DeviceProxy
(
'
rpcbridge/rpc2tangobridge/vlvfe
'
)
...
@@ -36,3 +37,14 @@ for att in sip400attrlist:
...
@@ -36,3 +37,14 @@ for att in sip400attrlist:
except
:
except
:
print
(
'
fail for %s
'
,
att
)
print
(
'
fail for %s
'
,
att
)
pass
pass
vlvfeattrlist
=
vlvfe
.
get_attribute_list
()
for
att
in
vlvfeattrlist
:
attconf
=
vlvfe
.
get_attribute_config
(
att
)
attconf
.
events
.
arch_event
.
archive_period
=
'
360000
'
try
:
vlvfe
.
set_attribute_config
(
attconf
)
vlvfe
.
poll_attribute
(
att
,
3000
)
except
:
print
(
'
fail for %s
'
,
att
)
pass
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