Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
NomadSpecialModules
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container registry
Model registry
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Instrument Control
NomadSpecialModules
Commits
f06ccf20
Commit
f06ccf20
authored
5 years ago
by
d22
Browse files
Options
Downloads
Patches
Plain Diff
QE65000 controller, avoid crash if saving I0 when no spectrum measure done
parent
ab8c770d
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
src/controllers/spectrometer/QE65000Controller.cpp
+1
-1
1 addition, 1 deletion
src/controllers/spectrometer/QE65000Controller.cpp
with
1 addition
and
1 deletion
src/controllers/spectrometer/QE65000Controller.cpp
+
1
−
1
View file @
f06ccf20
...
...
@@ -237,7 +237,7 @@ void QE65000Controller::setPlotName(int32 plotId) {
void
QE65000Controller
::
makeAutozero
()
{
// We do not do a measure... we just copy the last spectrum done as our intensity0
if
(
!
spectroDriver
->
commandStatus
.
isRunning
())
{
if
(
!
spectroDriver
->
commandStatus
.
isRunning
()
&&
yData
.
getSize
()
==
size
()
)
{
y0Data
.
update
(
yData
());
y0Data
.
setSize
(
size
());
...
...
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