ICIMACS for OSIRIS: Installation

2/18/99 : JAM

(ICIMACS = Instrument Control and Image Acquisition System

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

1) Connect the flat "phone cord" between COM1 on the Instrument Electronics (IE) crate and the RS232 port marked UART1 on the Head Electronics (HE) crate. Connect one pair of optical fibers to the 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 OSIRIS computers and monitors. Place the computer marked IC where it can be reached with the optical fibers from the telescope. The WC will be next to the IC, 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 gets a VGA monitor and a monochrome monitor, and the WC gets a monochrome monitor. Open the cases of the IC, 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 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) 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 you have an "ICIMACS IC for OSIRIS INSTALL DISK", put it in the IC floppy drive now and reboot. Follow the prompts to install the new IC code. When that's done, remove the floppy disk from the drive and reboot.

6) If the IC program isn't running, start it by running the following program: On the IC, change directory to C:\OSIRIS2 and type IC. When the program has started, check the status window for the status "light" +SEQUENCER about 11 lines down in the monochrome display. If you see -SEQUENCER instead, type SEQINIT on the keyboard. 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.

7) 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 IEOSIRIS.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.

8) If you have an "ICIMACS WC for OSIRIS INSTALL DISK", put it in the WC floppy drive now and reboot. Follow the prompts to install the new WC code, then setup the telescope controller serial port and the network connection. When that's done, remove the floppy disk from the drive and reboot.

9) Look at the file C:\wc\wc.ini on the WC. Look for the keyword TCPORT=. Connect the PC-SUN serial cable between PORT A on the sparcstation and the 25-pin serial port on the WC that is NOT the TCPORT, and start the sparcstation, if it isn't already. Start Caliban on the sparcstation.

10) IF you didn't set up the network information on the WC using the INSTALL DISK, then you'll need to set up the files WATTCP.AND and ANDIWC.BAT with the correct network information at your site by hand. From the network grunts there, get
a) the IP address for the machine to run the data taking software
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 CTIOWC.BAT. On the line beginning "tcpport.exe", make sure the IP address for the data taking sparcstation is here. This is the IP address that the WC will start the telnet session on. Now edit WATTCP.CTI and change the network info there to match the network info for this site. Start the WC program, and see if it tries to log in to the sparcstation 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.

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

12) Now connect the nine-pin serial cable with the flat white "phone" cord between the WC and the IC. Type PING ALL then HOSTS on the WC. It should report that it has seen the IC, and possibly the IE. If not, check the cables and repeat.

13) Now shut down the WC, IC and sparcstation. Connect SCSI cables between the IC 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.

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

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

16) 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.

17) 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.

18) 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.

19) 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.

20) 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.

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

22) 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.

23) 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

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

25) Now try to get the WC talking to the telescope controller. Connect the remaining serial port on the WC with the 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 and TCTYPE=CTIO.

26) Start the WC again. If the +TELESCOPE "light" in the WC status window is lit, good. If not, you need to recheck the telescope controller, cables, and the WC.INI file for problems. If you continue to have problems, talk to a TCS expert. There is a terminal emulator on the WC that is handy for debugging the TCS connection, C:\PROCOMM\PCPLUS. Stick to com ports 1 and 2 if using PROCOMM, however, as 3 and 4 use non-standard interrupts.

Imaging Sciences Laboratory
Revised: February 18, 1999 [jam]