Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
scan-p-gun-vgrid
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
Package Registry
Container Registry
Operate
Environments
Terraform modules
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
util
sequencer
scan-p-gun-vgrid
Commits
eee882d0
Commit
eee882d0
authored
1 year ago
by
Francesco Tripaldi
Browse files
Options
Downloads
Patches
Plain Diff
add graph_y_limit attribute
parent
4fb59847
No related branches found
Branches containing commit
Tags
1.0.20
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/ScanPGunVgrid.py
+5
-1
5 additions, 1 deletion
src/ScanPGunVgrid.py
with
5 additions
and
1 deletion
src/ScanPGunVgrid.py
+
5
−
1
View file @
eee882d0
...
...
@@ -68,6 +68,10 @@ def main():
elog_text
=
str
(
selfseq_dev
.
read_attribute
(
"
elog_text
"
).
value
)
trigger_gun
=
PyTango
.
DeviceProxy
(
'
booster/accessi/plc_accessi
'
)
timing_enable
=
PyTango
.
DeviceProxy
(
'
b/timing/injexttiming_b
'
)
try
:
graph_y_limit
=
selfseq_dev
.
read_attribute
(
"
graph_y_limit
"
).
value
except
:
graph_y_limit
=
2
except
Exception
as
e
:
#print(str(e))
selfseq_dev
.
write_attribute
(
"
ScriptErr
"
,
f
"
{
type
(
e
).
__name__
}
while defining tango devices:
{
e
}
"
)
# scrive l'eventuale errore sull'attributo "ScriptErr" della sequenza
...
...
@@ -204,7 +208,7 @@ def main():
if
topup_test_mode
==
True
:
y_range
=
(
0
,
0.6
)
else
:
y_range
=
(
0
,
1.2
)
y_range
=
(
0
,
graph_y_limit
)
...
...
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