Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
LimaGroup
Lima
Commits
fbd5e1a3
Commit
fbd5e1a3
authored
May 17, 2022
by
Samuel Debionne
Browse files
Add status info to error exception in CtControl::startAcq()
parent
0801d32e
Pipeline
#75034
passed with stages
in 34 minutes and 13 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
control/src/CtControl.cpp
View file @
fbd5e1a3
...
...
@@ -613,8 +613,8 @@ void CtControl::startAcq()
//First check the detector is in Idle Stat
HwInterface
::
Status
hwStatus
;
m_hw
->
getStatus
(
hwStatus
);
if
(
hwStatus
.
det
!=
DetIdle
)
THROW_CTL_ERROR
(
Error
)
<<
"Try to restart before detector is ready
"
;
if
(
hwStatus
.
det
!=
DetIdle
)
THROW_CTL_ERROR
(
Error
)
<<
"Try to restart before detector is ready
. HW status is "
<<
hwStatus
;
//m_ready = false after the last image is triggerred
int
nbFrames4Acq
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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