ICIMACS for DANDICAM: Installation

3/24/00 : JAM

(ICIMACS = Instrument Control and Image Acquisition System


This document covers the installation procedure for the DANDICAM ICIMACS system.

  • Note that all the cables and connectors on the ICIMACS machines, as well as some of the connections on the sparcstation, are now labeled.
    1) Connect the flat "phone cord" between COM1 on the Instrument Electronics (IE) crate and any RS232 port on the CDD side of the Head Electronics (HE) crate. Connect one pair of optical fibers to the CCD side of the HE. Turn on the power to the IE and HE.

    2) Clear enough space at the other end of the optical fibers for all the DANDICAM computers and monitors. Place the computers marked IC and IR where they can be reached with the optical fibers from the telescope. The WC will be next to the IC and IR, and requires an ethernet connection. Next to the WC comes the external disk enclosure, and next to that comes the sparcstation. Connect all the keyboards and monitors. The IC and IR get a VGA monitor and a monochrome monitor each, and the WC gets a monochrome monitor. Open the cases of the IC, IR and WC and make sure that all the cards are properly seated and that no loose parts are rattling around inside. That done, turn on the IC,IR and WC, and make sure that they have survived their long journey intact. Don't connect the SCSI cables yet.

    3) Check to see which pair of fibers has an illuminated end and connect that end of that pair to the darker fiber connector on the PC marked "IC". Connect the other end of that pair to the lighter fiber connector on the IC.

    4) Connect the other set of fibers to the connectors on the PC marked "IR". Go back out to the head electronics, and connect the second pair of fibers according to the same rule: the illuminated fiber goes to the darker connector, the unilluminated fiber goes to the lighter connector.

    5) If the IC and IR programs aren't running, start them by running the following programs: On the IC, change directory to C:\ANDICCD and type IC. On the IR change directory to C:\ANDIIR and type IC. When the programs have started, check the status window on both computers for the status "light" +SEQUENCER about 11 lines down in the monochrome display. If you see -SEQUENCER instead, type SEQINIT on the keyboard of that instrument. If the light remains at -SEQUENCER, it means that there is a problem with the sequencer, the fibers, or the head electronics. Fix and retry.

    6) Try talking to the Instrument Electronics by typing UARTINIT on the IC. You should see a message that a pong was received from the IE. If after waiting a long time (=1 min.) for the IE to boot, you still can't talk to it, you may have to connect a monitor and keyboard to the IE to make sure that it is starting the IE program on boot. The program to run is IEMDM2.EXE. Also check the flat phone cord between the head electronics and instrument electronics, and try swapping it with any standard phone cords you may find on phones around the control room. It is recommended that you choose a phone that is not currently in use.

    7) Look at the file C:\wc\wc.ini on the WC. Make sure that the keyword TCTYPE is followed by the value SAAO, that TCPRESENT=T, and that TCENABLE=T. If you haven't already, 8) Start the WC program, and see if it tries to log in to kepler and start the ariel daemon. Look for the +AR light on the WC status window; if it doesn't appear try typing ARIEL on the WC keyboard. The WC was set up before shipping for the network in SAAO. If you encounter problems, double check the setup as follows:

    Check the network addresses in the files WATTCP.AND and ANDIWC.BAT with the correct network information at your site. From the network grunts there, get
    a) the IP address for ritchey
    b) the IP address for the WC
    c) the netmask
    d) the DNS (nameserver) IP address
    e) the gateway IP address
    f) the WC domain name
    On the WC, edit the file SAAOWC.BAT. On the line beginning "tcpport.exe", change the IP address listed to the new IP address for ritchey at this site. This is the IP address that the WC will start the telnet session on. Now edit WATTCP.SAA and change the network info there to match the network info for this site. Restart the WC

    9) Check the caliban window and make sure it is chattering with the WC.

    10) Now connect the nine-pin serial cables between the WC and the IC, and between the WC and the IR. Type PING ALL then HOSTS on the WC. It should report that it has seen the IC, the IR and possibly the IE. If not, check the cables and repeat.

    11) Now shut down the WC, IC and IR and sparcstation. Connect SCSI cables between the IC and WC, IR and WC, WC and disk enclosure, and disk enclosure and sparcstation (the scsi controller on the SBUS slot). Turn on the disk enclosure, the sparcstation, and the WC.

    12) Start the WC and type DISKS. The WC should report three disks and give a long string of info on the disks.

    13) Type CS in the caliban window. Caliban should report two valid disks. If not, you need UNIX help, and good luck to you.

    14) If caliban reports that the disks are not synched, type >WC REQ INITDISK in the caliban window. Type CS again and check that the disks are now synched.

    15) Turn on the IC. Wait for it to boot and start up the IC program. Type DISKS on the IC. The IC should report three disks. If not check that the cable connections and card are fully seated. Try rebooting and watch the SCSI BIOS screen on startup. Make sure it sees the two SCSI disks.

    16) QUIT out of the WC program, and cycle power on the WC. When the WC program has started, type DISKS again and read carefully through the long string returned to see if there are now 5 disks reported. If not, check cables and cards seating again.

    17) If the WC is reporting -UPSYNCH in its status line, type >IC REQ INITDISK on the WC, until you get a +UPSYNCH. If -DNSYNCH is reported, go to the caliban window on the sparcstation and type >WC REQ INITDISK until you get +DNSYNCH.

    18) Type REQ MOUNT on the IC. You should get a list of pathnames, ending with the sparcstation data path. If you don't see the sparcstation path, type >WC REQ MOUNT on the IC, and follow with a REQ MOUNT on the IC.

    19) Select the sparcstation data path by typing USE MOUNT n on the IC, where n is the number preceding the data path.

    20) If the path is selected, you'll see it appear in the FileName: line on the IC mono monitor status window. If the WC reports that it has no synchronization info for the IC, you have to shut down the WC and IC programs and start them again.

    21) Type -SEQ on the IC. Take a fake image by typing GO on the IC keyboard, and watch for the return message from caliban on the IC screen, reporting that the file was written. Ignore any "telescope controller not available" error messages

    22) Type SEQINIT on the IC. Take a real image by typing GO on the IC again.

    23) Turn on the IR. Wait for it to boot and start up the IR program. Type DISKS on the IR. The IR should report three disks. If not: check that the cable connections and card are fully seated. Try rebooting and watch the SCSI BIOS screen on startup. Make sure it sees the two SCSI disks.

    24) QUIT out of the WC program, and cycle power on the WC. When the WC program has started, type DISKS again and read carefully through the long string returned to see if there are now 7 disks reported. If not, check cables and cards seating again.

    25) If the WC is reporting -UPSYNCH in its status line, type >IR REQ INITDISK on the WC, until you get a +UPSYNCH. If -DNSYNCH is reported, go to the caliban window on the sparcstation and type >WC REQ INITDISK until you get +DNSYNCH.

    26) Type REQ MOUNT on the IR. You should get a list of pathnames, ending with the sparcstation data path. If you don't see the sparcstation path, type >WC REQ MOUNT on the IR, and follow with a REQ MOUNT on the IR.

    27) Select the sparcstation data path by typing USE MOUNT n on the IR, where n is the number preceding the data path.

    28) If the path is selected, you'll see it appear in the FileName: line on the IR mono monitor status window. If the WC reports that it has no synchronization info for the IR, you have to shut down the WC and IR programs and start them again.

    29) Type -SEQ on the IR. Take a fake image by typing GO on the IR keyboard, and watch for the return message from caliban on the IR screen, reporting that the file was written. Ignore any "telescope controller not available" error messages

    30) Type SEQINIT on the IR. Take a "real" image by typing GO on the IR again.

    31) Now try to get the WC talking to the telescope controller. On the TCS, enable two com ports and select Active. Connect the remaining serial port on the WC with the second com port on the TCS using a null modem serial cable. The WC com port connected to the TCS must match the TCPORT keyword in the WC.INI file. Also make sure that the WC.INI file has TCPRESENT=T and TCENABLE=T.

    32) Start the WC again. If the +TELESCOPE "light" in the WC status window is lit, good. If not, you the WC.INI file, and the ariel program on the sparcstation for problems.


    Imaging Sciences Laboratory
    Revised: March 24, 2000 [jam]