TechnologyObserving FacilitiesEducation and OutreachAbout Haystack


Download SRT java files
Notes on the Dated Files
Import the Java Software Kit (SDK)
Compile and Run
Download SRT Manuals
A separate page details notes about the JavaTM 2 SDK software as it relates to the installation and operation of the SRT.
Notes on the Java Software


This page lists the twelve JAVA files that compose the Haystack Observatory Small Radio Telescope control software. Copyright (C) 2000, Massachusetts Institute of Technology (MIT), Cambridge, MA 02139, USA.

The JAVA software available on this page is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 (June 1991) of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty or MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

A copy of the GNU General Public License is available at the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.

Download SRT java files

Notes on the dated files:

July 9,2002 - A "beta" test version of the SRT java code fixes a calibration bug when operating the SRT from a command file.
1] Calibration using the vane calibrator would not complete properly while the antenna was tracking when commanded from a command file. Calibration did work properly if the antenna was commanded to a fixed azimuth and elevation. This is because commands relating to source tracking were interfering with commands to the calibration.

March 20, 2002 - The "beta" test version of the SRT java source code contains several additional capabilities. There are now 14 .java files with and added to include the new features.
1] There is now a separate help window enabled when the user clicks the Help button on the control panel task bar.

2] There is a separate window for an expanded plot of the acummulated spectrum that is enabled when the user clicks on the accummulated spectrum at the top of the control panel. The plot includes frequency(MHz) and VLSR(km/s) labels as well as integration time and Year:day:time labels.

To update the expanded plot, you must close the window, then reopen it by again clicking on the accumulated spectrum.
January 2, 2002 - A "beta" test version of the SRT java source code is now available. This test version is compatible with both the analog and digital receivers.

This version is a substantial update and includes the following features:

1] The antenna can now move in steps so that the motion can be observed on the screen at intermediate points.

2] While the antenna is moving, you may change your mind and click on a different source and the antenna will change course.

3] If you want to stop the antenna, click on the TRACK button which will toggle to red and stop the drives at the end of an incremental motion.

4] This new feature is made active by including the key word COUNTPERSTEP 50 in the SRT.CAT file (for an incremental motion in each axis of 50 counts).
Usage: COUNTPERSTEP n (where n is desired step count)
5] This software will work with either MSWindows or Linux systems. No keyword is necessary. However, if the system is Linux set the keyword COMM to 0.
Usage: COMM n (where n = 1 for windows, n = 0 for Linux)
6] To download this version of the SRT Java code, follow the steps above using anonymous ftp and adding "betatest" to the path name.
cd pub/srt/betatest

May 3, 2001 - Updated code now supports moving the center of the azimuth (normal elevation) to the North - as would be required in the Southern hemisphere. The normal direction is determined from the azimuth limits in the SRT.CAT file.

The updated code also supports both noisecal and either manual or automatic (if you have the vane cal drive) vane calibration. The keyword NOISECAL followed by its temperature activates the noise cal. Of course you need the noisecal diode mounted at the antenna vertex as described by Rudy Montez' Noise Source Calibrator report.

The power plot scale labelling has been improved.

Format/syntax errors are now reported in the catalog and command files.

November 15, 2000 - File has been updated to fix a java.lang.NullPointerException error message when the user opens the SRT control panel. The new version of Java (JDK.1.3.0) causes a resize event before the graphics pointer is set.

September 20, 2000 - A new stamp code (MTRNEW4.BAS) for the ground control has been posted to include the use of a Noise Source Calibrator. The new file will also work with the original motorized vane calibrator.

Import the JavaTM Software Kit (SDK):

Click on the link that represents the platform on which you will be running the SRT software.

MS Windows 95/98/ME

MS Windows 2000/NT/XP

Linux 7.2 (or Higher)

Compile and Run:

It is recommended that you download the SRT Java control files, to a dedicated directory to avoid confusion with other program files. The SRT software-defaults will read and write files that are resident in the directory from which the SRT is run. The user is free to read and write to and from the directories of their choice, but if that choice is left to defaults, the usefulness of a dedicated SRT sub-directory will become obvious!

The syntax for compiling the SRT JAVA code is:

javac *.java

SRT users need to construct an ASCII file label This file contains the user sourcelist, the telescope station latitude and longitude, telescope azimuth and elevation limits, in addition to other optional parameter settings if "normal" SRT default settings are not optimum to the user. Information regarding the file can be found in the Small Radio Telescope User's Guide which can be downloaded by clicking on the highlighted text below.

java srt 1 1 (simulator mode)

java srt 0 (operate mode)

Each of the above commands will open the SRT console window. Simulator mode will demonstrate the capabilities of the SRT console without the hardware. The compile and run commands are intended to be entered using an MS-Dos command line environment.

Download the SRT User's Manuals:

Here you can download the latest version of the Small Radio Telescope User's Manual. This (.PDF file) manual explains how to operate the telescope and how to read the JAVA-based control panel window. Also included in the manual are discussions about building data aquisition files and reading output data files.

A PDF format Assembly Manual is also available.

It should be stressed that all the material and files included on this page are subject to frequent updates.

Troubleshooting Software Installation




Haystack Radio Telescope

Wideband VLBI

Radio Arrays (EDGES, MWA, SKA, MAPS, Deuterium)

Small Radio Telescope (SRT)



Haystack VLBI Updates


Westford Radio Telescope

Mark 4 VLBI Correlator

VLBI Technique Development

International VLBI Service (IVS)


Atmospheric Sciences


Millstone Hill Observatory


Array Systems

Open Source Projects

Space Science Resources



Radio Arrays (EDGES, MWA, SKA, MAPS, Deuterium)

Very Long Baseline Interferometry (VLBI)

Haystack Memo Series

Ionospheric Techniques

Open Source Projects

Observing Facilities

Haystack Radio Telescope

Westford Radio Telescope

Millstone Hill Radar

Deuterium Array

Atmospheric Optics Facility

Education and Outreach

Undergraduate Research

Research Experiences for Undergraduates (REU)

Research Experiences for Teachers (RET)

Pre-College Resources

Public Outreach Activities

About Haystack

Northeast Radio Observatory Corp. (NEROC)


News Archive



Positions Available

Art at Haystack





Safety Manual