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
tango-ds
DeviceClasses
Acquisition
2D
AGIPD
Commits
c2d13d34
Commit
c2d13d34
authored
Aug 08, 2016
by
Yuelong Yu
Browse files
fixed index error problem
parent
a7fe0a61
Changes
3
Hide whitespace changes
Inline
Side-by-side
agipdmc/MicroController.cpp
View file @
c2d13d34
...
...
@@ -18,7 +18,7 @@ namespace AGIPDMC_ns
{
m_vstTemperatures
.
clear
();
for
(
auto
nIdx
:
TEMPERATURE_INDEX_TABLE
)
CalculateTemperaturesOnEachBoard
(
nIdx
);
CalculateTemperaturesOnEachBoard
(
nIdx
/
2
);
}
vector
<
stTemperature
>
MicroController
::
GetAllTemperatures
()
const
...
...
agipdmc/MicroController.h
View file @
c2d13d34
...
...
@@ -25,14 +25,14 @@ namespace AGIPDMC_ns
const
vector
<
int
>
TEMPERATURE_INDEX_TABLE
=
{
0x28
,
0x2C
,
0x42
,
0x46
,
0x5c
,
0x60
,
0x76
,
0x7a
,
0x90
,
0x94
,
0xaa
,
0xae
,
0xc4
,
0xc8
,
0xde
,
0xe2
{
0x28
0
,
0x2C
0
,
0x42
0
,
0x46
0
,
0x5c
0
,
0x60
0
,
0x76
0
,
0x7a
0
,
0x90
0
,
0x94
0
,
0xaa
0
,
0xae
0
,
0xc4
0
,
0xc8
0
,
0xde
0
,
0xe2
0
};
const
double
UNKNOWN_VALUE
=
-
9999
;
/* for exception */
...
...
agipdmc/UpdateDataThread.cpp
View file @
c2d13d34
...
...
@@ -71,7 +71,7 @@ namespace AGIPDMC_ns
}
catch
(...)
{
cout
<<
"unknown exception caught"
<<
endl
;
//
cout<<"unknown exception caught"<<endl;
}
}
...
...
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