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
ea85f7e1
Commit
ea85f7e1
authored
Sep 19, 2014
by
Andrey Filippov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Testing remote notifications
parent
999f41dd
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
0 deletions
+9
-0
Aberration_Calibration.java
src/main/java/Aberration_Calibration.java
+9
-0
No files found.
src/main/java/Aberration_Calibration.java
View file @
ea85f7e1
...
...
@@ -45,6 +45,7 @@ import java.util.concurrent.atomic.AtomicInteger;
import
java.util.regex.Matcher
;
import
java.util.regex.Pattern
;
//import FocusingField.FocusingFieldMeasurement;
//import FocusingField.MeasuredSample;
import
Jama.Matrix
;
// Download here: http://math.nist.gov/javanumerics/jama/
...
...
@@ -923,6 +924,14 @@ if (MORE_BUTTONS) {
}
this
.
SYNC_COMMAND
.
isRunning
=
false
;
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
);
}
catch
(
IOException
e
)
{
System
.
out
.
println
(
"Failed shell command: \""
+
shellCommand
+
"\""
);
}
Toolkit
.
getDefaultToolkit
().
beep
();
}
}
...
...
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