Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
e3-sis8300llrf
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
ESS EPICS Environment
wrappers
e3-sis8300llrf
Commits
e6c65050
Commit
e6c65050
authored
5 years ago
by
Gabriel Fedel
Committed by
Thomas Fay
5 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Add a test for attenuation when goes to RESET and INIT
parent
89f586c4
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
testing/test1.sh
+25
-1
25 additions, 1 deletion
testing/test1.sh
with
25 additions
and
1 deletion
testing/test1.sh
+
25
−
1
View file @
e6c65050
...
...
@@ -68,9 +68,33 @@ do
run
"set_att
$LLRF_INSTANCE
$slot
$i
$attVal
"
done
echo
'Revert to INIT state'
echo
'Test attenuation on state RESET and after transition from RESET'
attVal
=
10
for
i
in
`
seq
0 8
`
;
do
run
"set_att
$LLRF_INSTANCE
$slot
$i
$attVal
"
done
run
"state_change
$LLRF_INSTANCE
RESET"
echo
"Change attenuation on channel 0 to 11"
caput
$LLRF_INSTANCE
:AI0-ATT 11
>
/dev/null
result1
=
"
$(
sis8300drv_reg /dev/sis8300-
$slot
0xF82
)
"
result2
=
"
$(
sis8300drv_reg /dev/sis8300-
$slot
0xF83
)
"
result3
=
"
$(
sis8300drv_reg /dev/sis8300-
$slot
0xF84
)
"
run
"check 0x14141414
$result1
'Test attenuator on transition case'"
run
"check 0x14141414
$result2
'Test attenuator on transition case'"
run
"check 0x28
$result3
'Test attenuator on transition case'"
run
"state_change
$LLRF_INSTANCE
INIT"
result1
=
"
$(
sis8300drv_reg /dev/sis8300-
$slot
0xF82
)
"
result2
=
"
$(
sis8300drv_reg /dev/sis8300-
$slot
0xF83
)
"
result3
=
"
$(
sis8300drv_reg /dev/sis8300-
$slot
0xF84
)
"
run
"check 0x14141416
$result1
'Test attenuator on transition case'"
run
"check 0x14141414
$result2
'Test attenuator on transition case'"
run
"check 0x28
$result3
'Test attenuator on transition case'"
echo
'*** Pulse'
...
...
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