|
||||||||
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES |
See:
Description
Class Summary | |
AboutDialog | Title: About dialog Description: About dialog class to display the about dialog Copyright: Copyright (c) 2003 Company: Policlinico universitario di Udine |
Bookmark | Title: Bookmark Class Description: A VERY simple class useful to store stages position and give it a name. |
MessageDialog | Title: MessageDialog Class Description: A class to create simple message dialog Copyright: Copyright (c) 2003 Company: Policlinico Universitario di Udine |
SerialConnection | A class that handles the details of a serial connection. |
SerialConnParDialog | Title: SerialConnParDialog Description: A dialog used to set connection parameter with serial port. |
SerialParameters | A class that stores parameters for serial ports. |
StageCommands | Title: StageCommands Class Description: This class (HAVE TO) contains all string (ASCII) codify of stage commands, and building methods necessary to generate consistent (well formed) stage commands for a serial stage controlled. |
StageController | Title: Stage controller class Description: By the use of this class the programmer shold be able to control a microscope stage (x,y,z). |
StageCtrlDialog | Title: Stage control dialog Description: A simple dialog to control basic function stage: steps size, steps, etc. |
StepSizeDialog | Title: StepSizeDialog Description: A simple dialog to set stage step sizes. |
Exception Summary | |
SerialConnectionException |
Provides classes for driving serial controlled microscope stages. By default this
package allow you to drive PRIOR OPTI SCAN stages: X,Y,Z azis only. It should work
also with PRIOR PRO SCAN STAGES but it's never been tested. Other stages
will be availabe as soon as company release stage serial protocols. Howhever you
colud develop the missed piece of software inside this package to drive other stages.
This software is JDK 1.1 compatible.
THIS PACKAGE REQUIRE SUN COMMAPI 2.0 LIBRARY TO WORK!
Classes inside this package allow you to:
StageController
class).
To disply a Stage control window you can write your own java program containing the following line to get the window appear on your monitor:
StageCtrlDialog dialogo=new StageCtrlDialog();
This is the only one code line of StageCtrlDialog
main
program class.
That fact makes the program startable from command line:
For example:
javaw -mx80m -cp vfsc.jar;comm.jar; vfstagecontroller.StageCtrlDialog
will display a Stage control window with default parameters.
StageController
class allow the programmer to control the stage
from java code. Basically you have just to do the following three things:
stController= new StageController();
stController.setConnectionParameters(new SerialParameters("com1",9600,SerialPort.FLOWCONTROL_NONE,SerialPort.FLOWCONTROL_NONE,SerialPort.DATABITS_8,SerialPort.STOPBITS_1,SerialPort.PARITY_NONE))
stcontroller.openConnection();
openConnection()
method return true
this means the connection
is right estabilished and hence you can control the stages by Stagecontroller methods otherwise
means that something went wrong with connection. Control connection parameters and try again.
java.comm
|
||||||||
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES |