Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
tango
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Jira issues
Open Jira
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
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
Insights
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
LOFAR2.0
tango
Commits
8baacd38
Commit
8baacd38
authored
2 years ago
by
Taya Snijder
Browse files
Options
Downloads
Plain Diff
Merge branch '
L2SS-974
_ccd_alarm_fixes' into 'master'
L2SS-974
ccd alarm fixes Closes
L2SS-974
See merge request
!430
parents
b4eaba48
f6123e08
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!430
L2SS-974 ccd alarm fixes
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
tangostationcontrol/tangostationcontrol/devices/ccd.py
+8
-4
8 additions, 4 deletions
tangostationcontrol/tangostationcontrol/devices/ccd.py
with
8 additions
and
4 deletions
tangostationcontrol/tangostationcontrol/devices/ccd.py
+
8
−
4
View file @
8baacd38
...
...
@@ -118,7 +118,7 @@ class CCD(opcua_device):
def
reset_hardware
(
self
):
"""
Initialise the CCD hardware.
"""
# Cycle clock
# Cycle clock
. Quickly toggling the heater should not cool the heater down too much.
self
.
CCD_off
()
self
.
wait_attribute
(
"
CCDTR_translator_busy_R
"
,
False
,
self
.
CCD_On_Off_timeout
)
self
.
CCD_on
()
...
...
@@ -126,16 +126,20 @@ class CCD(opcua_device):
if
not
self
.
read_attribute
(
"
CCD_PLL_locked_R
"
):
if
self
.
read_attribute
(
"
CCDTR_I2C_error_R
"
):
raise
Exception
(
"
I2C is not working.
Maybe power cycle subrack to restart CLK board and translator?
"
)
raise
Exception
(
"
I2C is not working.
"
)
else
:
raise
Exception
(
"
CCD clock is not locked
"
)
logger
.
warning
(
"
CCD not locked, this may indicate the clock has not yet warmed up
"
)
def
_disable_hardware
(
self
):
"""
Disable the CCD hardware.
"""
"""
Disable the CCD hardware.
WARNING: The CCD contains a heater that takes about 15 minutes to fully heat up from a cold start.
This
"""
# Turn off the CCD
self
.
CCD_off
()
self
.
wait_attribute
(
"
CCDTR_translator_busy_R
"
,
False
,
self
.
CCD_On_Off_timeout
)
logger
.
debug
(
"
Put CCD in off state
"
)
# --------
# Commands
...
...
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