ICIMACS for DANDICAM: WC Software Startup Procedure

7/23/98 : JAM

(ICIMACS = Instrument Control and Image Acquisition System


A single copy of the WC code will work with any ISL instrument IC of the same (or nearly the same) version number. The start-up file WC.BAT in C:\WC points to a particular version of the code; make sure it is the correct version for the IC code that your instrument is running. (Some IC/WC pairs do not agree on version number - for example, the IC program for DANDICAM is v4.9 or v4.9.1, while the DANDICAM WC program is v5 or v5.1

Note that the WC code is no longer site-specific. It is no longer necessary to recompile the WC code when moving between sites; the telescope controller interface is set at run-time.

However, it is necessary to use site specific commands to enable the correct telnet session. The batch file WC.BAT is set to run another, site-specific batch file, like WCOSU.BAT, WCMDM.BAT, or WCKPNO.BAT. The site-specific batch files do clean-up and start the correct version of the WC code:

WCOSU.BAT

@rem Next three lines make sure correct WATTCP.CFG is in place
if not exist wattcp.osu then goto ooops
delete wattcp.cfg
copy wattcp.osu wattcp.cfg
@rem Next line gets info on NFS drives and saves to a file
idutil -f >idutil.txt
@rem Next line enables wc with telnet connection for ariel with ritchey as host
tcpport.exe 128.146.37.195 23 "v5\xfer24.exe"
goto exit
:ooops
echo WATTCP.OSU not found!!
:exit


Here, the WC code is called xfer24.exe, and it is in the directory v5.

If you encounter problems with any of the network functions of the WC, try rebooting and pressing the F8 key when the message Starting MS-DOS... message pops up. This will allow you to single-step through the config.sys and autoexec.bat files, so that any error messages don't scroll off the screen before you can read them.


Imaging Sciences Laboratory
Revised: July 23, 1998 [jam]