CALLISTO status report #12 of 2004-12-07

To:
Arnold O. Benz	ETHZ	benz@astro.phys.ethz.ch	
Tim Bastian	NRAO	tbastian@nrao.edu	
Richard F. Bradley	NRAO	rbradley@nrao.edu	
Erin Mastrantonio	NRAO	emastran@nrao.edu	
Peter Messmer	TXCORP	messmer@txcorp.com	
Hansueli Meyer	ETHZ	meyerh@astro.phys.ethz.ch	
Hanspeter Hächler	ETHZ	haechler@phys.ethz.ch	

From:
Christian Monstein	ETHZ	monstein@astro.phys.ethz.ch	

FPU (focal plane unit)
Not applicable

RCU (receiver control unit)
Not applicable

RX (receiver)
Not applicable

Host-PC
A lot of non conformances and improvements have been solved and implemented in a new software version. The complete set of files is available as ZIP file under http://www.astro.phys.ethz.ch/instrument/callisto/Appdocs/20041207.ZIP
In note form all changes that have been implemented in Callisto-software:
•	Button “Reload callisto.cfg” deleted, it is too dangerous to change parameters on a running system
•	New FPU parameters introduced ([fputype] and [fpubaudrate]
•	New external sensor parameters introduced ([hygrotype] and [hygrobaudrate]
•	New GPS parameters introduced ([gpstype], [gpsbaudrate], [gpslongitude], [gpslatitude] and [gpsheight]) to supply system with default values
•	New RX parameter [rxbaudrate] introduced
•	Parameter [integration] deleted, we don’t post-integrate while measuring
•	Several unused variables deleted like nextfreqfilename[], etc.
•	Type change for (Byte) measurestate to (int) measurestate
•	Improved reading of callisto.cfg, scheduler.cfg and frq*.cfg (exclude comments from interpreting)
•	Time- and Date reading in separate function -> MyClock()
•	External HygroWin sensor ProgressBar set to smooth
•	GPS complete coordinate decoding including {N,S,E,W}
•	GPS logging of number of satellites more conservative
•	Variable (int) mpps changed to (int) rows
•	Frequency file reader restricted to entries starting with ‘[‘
•	Debug window deleted but Info panel improved
•	Change of Yt_ringbuffer[] to *Yt_ringbuffer
•	Change of BGbuffer[] to *BGbuffer
•	Change of XY_ringbuffer[] to *XY_ringbuffer
•	Change of XYZ_ringbuffer[] to *XYZ_ringbuffer
•	Info-> Hints&Ticks now on line available as pdf file 
•	Info->Operating manual now on line available as pdf file
•	Yt-plott reduced to OLTP only (on-line-measurement-point)
•	Yt-plott new function to select any frequency by pressing right mouse button and select.
•	Type of observatory changed to (int) to satisfy sscanf() standard c-function
•	Dito observationmode
•	Dito timesource
•	Dito clocksource
•	Dito filetime
•	All (Word) types changed to type (long)
•	Multiple initializations found and deleted to save memory
•	Wrong sequences in instantiations of objects corrected
•	Buffer for external sensor drastically reduced to save memory
•	GPS coordinates are now being saved in FITS file too
•	Individual Yt-buffers for both receivers
•	Fonts for all plots equalized to the same size.
•	New keyword [fitsenable]=x, where 0=no FITS, 1=RX1, 2=RX2, 3=both RX
•	Updated Yt-plot x-axis labeling
•	Updated XYZ-plot x-axis labeling
•	Updated XY-plot x-axis labeling in MHz instead of channel
•	Several ‘old’ frequency programs deleted since they have typos in it.
•	Measuring through midnight is now possible without interruption
•	Software runs now even under Win9x as soon as the PC is fast enough >200MHz
•	ScrollBars replaced by one single TrackBar to control focuscode
•	Parameter [timesource] deleted since time is always taken from BIOS
•	All icons equalized to the same one
•	FPU window updated with several functions, data are saved in FITS header too.
•	GPS new function “Set BIOS time&date” to synchronize BIOS to GPS
•	Scheduler structure simplified to one focuscode, the other is shifted by a constant value of 1.0
•	Prefer parallel programming of FPU than serial programming because it takes much longer (up to 1 second). Thus; time stamp in FITS may be shifted by  up to 2 seconds depending on PC and parameters.
•	Final coding of measurement code 7 for automatically exit the application
•	Several minor, but bad coding replaced using ‘code guard’ in debug mode.
•	Operating manual updated to this new version writing FITS file instead of RAW
•	Hints&Tricks document updated.
•	All files zipped to one single file which is available through our website.

Server
See AOB.

QM (qualification model)
QM is still running at Bleien observatory observing 45MHz…160MHz linear polarized, still without any preamplifier.

FM/FS (flight models and flight spare)
FM1 located at NRAO is set into operation by Erin Mastrantonio, status open…
FM2 is still running at Zurich sun tower observing 160MHz…437MHz linear 1&2
FM3 running at the authors home to test GPS – and timing functions
FM4 ready for something else (field measurements, e.g. in the alps)
FS not yet completed, still in electronics lab.

AOB (any other business)
As soon as the new software is installed all PERL- and IDL scripts have to be checked and eventually adapted. Instead of reading and converting RAW files they have now to deal with FITS files only!

List of files which are really necessary:
-	callisto.exe
-	callisto.cfg
-	scheduler.cfg
-	frq00201.cfg
-	CFITSIO.DLL
-	CW3230.DLL
-	WSC32.DLL
-	CallistoHints.pdf
-	CallistoOPmanual.pdf
-	All other files are used for software engineering only, they may be deleted

Recommendation: There is very nice tool on the web to view FITS files including their headers. It can be downloaded for free from: http://www.nrao.edu/software/fitsview/fvwin.html