| Raben Systems, Inc. | |
| Software Development Services |
| Home | About Us | Articles | Downloads | Solar maps | Space weather graphs | Wireless |
|
Since the interface uses the Java comm api, you will need to download a copy for your computer platform. Follow the instructions included with the download for installation on your platform. The following list are possible sources for the comm api. The only one tested by us so far is the one from Sun Microsystems. MS Windows and Sun Solaris: http://java.sun.com/products/javacomm Linux, MS Windows, Mac OS/X: http://www.rxtx.org Documentation of the "official" Celestron RS232 command sets are available from http://www.celestron.com/telescopes.htm. Product manual can be found by selecting the particlular telescope product. The "unofficial" auxillary command set is documented at http://www.paquettefamily.ca/nexstar/. Information regarding the computer interface to the Nexstar is available at http://www.nexstarsite.com/PCControl.htm. There is lots of other useful information about using Nexstar telescopes on this site as well. Online documentation of the Telescope API is available from http://www.raben.com/articles/TelescopeInterface/apidocs/. Source code for the example application and interface classes may be viewed in html form in this source xref listing.
|
This project has joined the java.net open source community and is now available at telescope.dev.java.net which is hosted by Sun Microsystems and Oreilly Associates, Inc. From that site you may checkout the source code using CVS, join the development team, and contribute to the future development of the project! The telescope.dev.java.net CVS will be the most recent version of the source code. Instructions on how to use CVS are available at that site. Note -- The site does not appear to support anonymous or guest CVS access. You need to register with java.net first and use your registered name to retrieve the code. The source code may be also be downloaded from http://www.raben.com/downloads/telescope-1.4.1-src.zip Unzip the zip file in a convenient directory. After unzipping the file you will find a directory called "Telescope-1.4". Under that directory you will find the following:
The Java SDK or Java runtime and the java.comm api must already be installed on your system. If Apache Jakarta Ant has been installed on your computer system, you may re-compile the source code by simply changing to the "Telescope-1.4.1" directory and executing the command: ant telescope The system variable "ANT_HOME" must point to the ant directory. The system variable "JAVA_HOME" must point to the J2SDK directory. Both "java" and "ant" must be in the command line path. The example applications may be executed by changing to the "dist"
directory and executing the following on a MS Windows command line: java -cp telescope.jar;%COMM_HOME%\comm.jar com.raben.telescope.comm.ConfigureDialog
java -cp telescope.jar;%COMM_HOME%\comm.jar com.raben.telescope.comm.PositionDialog On MS Windows XP the variable %COMM_HOME% needs to set to location of the javax.comm distribution. (For reasons not understood -- by me at least, the comm.jar doesn't load automatically as it should from the jre/lib/ext directory -- maybe because its is compiled from the old jdk1.6. Even more bizarre, %COMM_HOME% cannot point to the jre/lib/ext/comm.jar either -- it must be point elsewhere!! -- then it runs fine). On LINUX and other UNIX platforms, the command is the same except for the classpath (-cp switch) for example: java -cp telescope.jar:$COMM_HOME/comm.jar com.raben.telescope.comm.PositionDialog Please send any questions, comments, or suggestions for enhancements to support@raben.com |
| ©2003, 2004 Raben Systems, Inc. All rights reserved. |
Home • About
Us • Accessibility • • Downloads
• Legal
|