Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
cfel-sc-public
Kamzik3
Commits
656317ca
Commit
656317ca
authored
May 13, 2022
by
Jerome Carnis
🦊
Browse files
deviceEigerP11.py: add docstrings
parent
44347d75
Changes
1
Hide whitespace changes
Inline
Side-by-side
kamzik3/devices/deviceEigerP11.py
View file @
656317ca
...
...
@@ -28,6 +28,11 @@ from kamzik3.devices.general.deviceScanner import DeviceScanner
from
kamzik3.macro.scan
import
Scan
from
kamzik3.snippets.snippetsDecorators
import
expose_method
"""
TriggerMode 0, 1, 2, 3 correspond to "EXTE", "EXTS", "INTE", "INTS" in Eiger
documentation.
"""
class
DeviceTangoEigerDetector
(
DeviceTango
):
"""
...
...
@@ -176,6 +181,12 @@ class DeviceTangoEigerDetector(DeviceTango):
@
expose_method
()
def
stop
(
self
):
"""
Stop the acquisition.
It is necessary to call Disarm() if the detector acquisition is stopped manually
because it forces the filewriter to go back to ON (otherwise it stays RUNNING).
"""
if
self
.
get_value
(
ATTR_STATUS
)
==
STATUS_BUSY
:
self
.
logger
.
info
(
"Acquisition aborted"
)
self
.
Abort
()
...
...
Write
Preview
Supports
Markdown
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!
Cancel
Please
register
or
sign in
to comment