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
79dd9ba6
Commit
79dd9ba6
authored
Sep 19, 2014
by
Andrey Filippov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remote notification of command complete
parent
ea85f7e1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
8 deletions
+11
-8
Aberration_Calibration.java
src/main/java/Aberration_Calibration.java
+11
-8
No files found.
src/main/java/Aberration_Calibration.java
View file @
79dd9ba6
...
@@ -924,14 +924,16 @@ if (MORE_BUTTONS) {
...
@@ -924,14 +924,16 @@ if (MORE_BUTTONS) {
}
}
this
.
SYNC_COMMAND
.
isRunning
=
false
;
this
.
SYNC_COMMAND
.
isRunning
=
false
;
this
.
SYNC_COMMAND
.
stopRequested
.
set
(
0
);
this
.
SYNC_COMMAND
.
stopRequested
.
set
(
0
);
String
shellCommand
=
"ssh andrey@192.168.0.137 paplay /usr/share/sounds/KDE-Im-Error-On-Connection.ogg"
;
}
try
{
// Process p = Runtime.getRuntime().exec("shell command");
}
Runtime
.
getRuntime
().
exec
(
shellCommand
);
public
void
remoteNotifyComplete
(){
}
catch
(
IOException
e
)
{
String
shellCommand
=
"ssh andrey@192.168.0.137 paplay /usr/share/sounds/KDE-Im-Error-On-Connection.ogg"
;
System
.
out
.
println
(
"Failed shell command: \""
+
shellCommand
+
"\""
);
try
{
}
// Process p = Runtime.getRuntime().exec("shell command");
Toolkit
.
getDefaultToolkit
().
beep
();
Runtime
.
getRuntime
().
exec
(
shellCommand
);
}
catch
(
IOException
e
)
{
System
.
out
.
println
(
"Failed shell command: \""
+
shellCommand
+
"\""
);
}
}
}
}
...
@@ -4160,6 +4162,7 @@ if (MORE_BUTTONS) {
...
@@ -4160,6 +4162,7 @@ if (MORE_BUTTONS) {
double
rms
=
FOCUSING_FIELD
.
calcErrorDiffY
(
focusing_fx
,
false
);
double
rms
=
FOCUSING_FIELD
.
calcErrorDiffY
(
focusing_fx
,
false
);
double
rms_pure
=
FOCUSING_FIELD
.
calcErrorDiffY
(
focusing_fx
,
true
);
double
rms_pure
=
FOCUSING_FIELD
.
calcErrorDiffY
(
focusing_fx
,
true
);
System
.
out
.
println
(
"rms="
+
rms
+
", rms_pure="
+
rms_pure
+
" - with old parameters may be well off."
);
System
.
out
.
println
(
"rms="
+
rms
+
", rms_pure="
+
rms_pure
+
" - with old parameters may be well off."
);
remoteNotifyComplete
();
return
;
return
;
}
}
...
...
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