Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
I
imagej-elphel
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
3
Issues
3
List
Board
Labels
Milestones
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Elphel
imagej-elphel
Commits
79eb3283
Commit
79eb3283
authored
Mar 24, 2018
by
Andrey Filippov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bypassing no temperature
parent
c500f3ad
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
2 deletions
+9
-2
CalibrationHardwareInterface.java
src/main/java/CalibrationHardwareInterface.java
+9
-2
No files found.
src/main/java/CalibrationHardwareInterface.java
View file @
79eb3283
...
...
@@ -738,8 +738,15 @@ public class CalibrationHardwareInterface {
IJ
.
showMessage
(
"Error"
,
msg
);
throw
new
IllegalArgumentException
(
msg
);
}
String
sTemperature
=((
Node
)
(((
Node
)
dom
.
getDocumentElement
().
getElementsByTagName
(
"sensorTemperature"
).
item
(
0
)).
getChildNodes
().
item
(
0
))).
getNodeValue
();
String
sTemperature
=
null
;
if
((
dom
.
getDocumentElement
().
getElementsByTagName
(
"sensorTemperature"
).
item
(
0
))!=
null
){
sTemperature
=((
Node
)
(((
Node
)
dom
.
getDocumentElement
().
getElementsByTagName
(
"sensorTemperature"
).
item
(
0
)).
getChildNodes
().
item
(
0
))).
getNodeValue
();
}
else
{
sTemperature
=
"0.0"
;
}
// remove opening and closing "
if
(
sTemperature
==
null
){
String
msg
=
"Could not read sensor temperature"
;
...
...
Write
Preview
Markdown
is supported
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