Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
Engineer
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Jira
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
opis
ACC
PBI
Engineer
Commits
99d12974
Commit
99d12974
authored
3 years ago
by
Mehdi Mohammednezhad
Browse files
Options
Downloads
Patches
Plain Diff
Add CPU08 and bcm01-cpu02 to the top page and modify the fw ver.
parent
a30c79ab
No related branches found
No related tags found
1 merge request
!20
BCM OPI refactoring
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
10-Top/bcmioc/top.bob
+51
-1
51 additions, 1 deletion
10-Top/bcmioc/top.bob
99-Shared/adsis8300bcm/bcm_crate.bob
+15
-1
15 additions, 1 deletion
99-Shared/adsis8300bcm/bcm_crate.bob
with
66 additions
and
2 deletions
10-Top/bcmioc/top.bob
+
51
−
1
View file @
99d12974
...
...
@@ -253,7 +253,57 @@
<SYSTEM9>
LAB-009:PBI-BCM-009
</SYSTEM9>
</macros>
<x>
690
</x>
<y>
280
</y>
<y>
260
</y>
<width>
470
</width>
<height>
200
</height>
</widget>
<widget
type=
"embedded"
version=
"2.0.0"
>
<name>
Embedded Display_3
</name>
<file>
../../99-Shared/adsis8300bcm/bcm_inst.bob
</file>
<macros>
<AMC_NAME>
Ctrl-AMC-110
</AMC_NAME>
<CONTROL_GROUP>
BCM01-CPU02
</CONTROL_GROUP>
<HV_EN>
true
</HV_EN>
<P>
BCM01-CPU02:
</P>
<R>
Ctrl-AMC-110:
</R>
<SYSTEM1>
ISrc-010:PBI-BCM-001-CPU-002
</SYSTEM1>
<SYSTEM10>
DTL-040:PBI-BCM-001-CPU-002
</SYSTEM10>
<SYSTEM2>
LEBT-010:PBI-BCM-001-CPU-002
</SYSTEM2>
<SYSTEM3>
RFQ-010:PBI-BCM-001-CPU-002
</SYSTEM3>
<SYSTEM4>
MEBT-010:PBI-BCM-001-CPU-002
</SYSTEM4>
<SYSTEM5>
MEBT-010:PBI-BCM-002-CPU-002
</SYSTEM5>
<SYSTEM6>
DTL-010:PBI-BCM-001-CPU-002
</SYSTEM6>
<SYSTEM7>
DTL-020:PBI-BCM-001-CPU-002
</SYSTEM7>
<SYSTEM8>
ISrc-010:ISS-HVPf-CPU-002
</SYSTEM8>
<SYSTEM9>
DTL-030:PBI-BCM-001
</SYSTEM9>
</macros>
<x>
690
</x>
<y>
620
</y>
<width>
470
</width>
<height>
200
</height>
</widget>
<widget
type=
"embedded"
version=
"2.0.0"
>
<name>
Embedded Display_2
</name>
<file>
../../99-Shared/adsis8300bcm/bcm_inst.bob
</file>
<macros>
<AMC_NAME>
Ctrl-AMC-004
</AMC_NAME>
<CONTROL_GROUP>
LAB-BCM08
</CONTROL_GROUP>
<HV_EN>
true
</HV_EN>
<P>
LAB-BCM08:
</P>
<R>
Ctrl-AMC-004:
</R>
<SYSTEM1>
LAB-008:PBI-BCM-001
</SYSTEM1>
<SYSTEM10>
LAB-008:PBI-BCM-010
</SYSTEM10>
<SYSTEM2>
LAB-008:PBI-BCM-002
</SYSTEM2>
<SYSTEM3>
LAB-008:PBI-BCM-003
</SYSTEM3>
<SYSTEM4>
LAB-008:PBI-BCM-004
</SYSTEM4>
<SYSTEM5>
LAB-008:PBI-BCM-005
</SYSTEM5>
<SYSTEM6>
LAB-008:PBI-BCM-006
</SYSTEM6>
<SYSTEM7>
LAB-008:PBI-BCM-007
</SYSTEM7>
<SYSTEM8>
LAB-008:PBI-BCM-008
</SYSTEM8>
<SYSTEM9>
LAB-008:PBI-BCM-009
</SYSTEM9>
</macros>
<x>
694
</x>
<y>
440
</y>
<width>
470
</width>
<height>
200
</height>
</widget>
...
...
This diff is collapsed.
Click to expand it.
99-Shared/adsis8300bcm/bcm_crate.bob
+
15
−
1
View file @
99d12974
...
...
@@ -728,7 +728,7 @@ $(pv_value)</tooltip>
</widget>
<widget
type=
"textupdate"
version=
"2.0.0"
>
<name>
Text Update_109
</name>
<pv_name>
$(P)$(R)BCMFWVersionR
</pv_name>
<pv_name>
loc://ver("0.0.0")
</pv_name>
<x>
1216
</x>
<width>
120
</width>
<height>
30
</height>
...
...
@@ -738,6 +738,20 @@ $(pv_value)</tooltip>
<wrap_words>
false
</wrap_words>
<actions>
</actions>
<scripts>
<script
file=
"EmbeddedPy"
>
<text>
<![CDATA[# Embedded python script
from org.csstudio.display.builder.runtime.script import PVUtil, ScriptUtil
print 'Hello'
# widget.setPropertyValue('text', PVUtil.getString(pvs[0]))
ver = PVUtil.getInt(pvs[0])
print ver
widget.getPV().setValue("{0}.{1}.{2}".format((ver>
>24)
&
0x0f,(ver>>8)
&
0x0f,ver
&
0x0f)
]]>
</text>
<pv_name>
$(P)$(R)BCMFWVersionR
</pv_name>
</script>
</scripts>
<border_color>
<color
red=
"0"
green=
"128"
blue=
"255"
>
</color>
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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