Running WFCAM Manually

Running WFCAM Manually

  • Log into each of the wfacq machines 4 times, twice as root and twice as wfcam
  • For each wfacq machine:

(obviously, where it says “type” you can usually substitute “cut and paste”) for the new version:

  • In the ‘root’ windows,
    • in the first window type
 cd /jac_sw/itsroot/install/ucam/bin
./startup_camera
  • In the second window type
 cd /jac_sw/itsroot/install/ucam/bin
./startup_filesave
  • In the wfcam windows:
    • in the first window, type:
 cd /jac_sw/itsroot/install/ucam/bin
./startup_demux
  • In the second window type
 cd /jac_sw/itsroot/src/engineering/uclient/build/bin
./ucam
  • To run gaia:
    • make yet another window and log in as wfcam
    • type
 source /star/etc/login
source /star/etc/cshrc
cd /export/data/uraw/
gaia <filename>
  • To stop rtai if it doesn’t stop properly by itself (or doesn’t run up:
 /jac_sw/itsroot/src/engineering/wfcam/scripts/rmrtai

(if this doesn’t work:

rmmod rtai_sdsu rtai_fifos rtai_sched_mup rtai_shm rtai_spdrv rtai_pqueue rtai_lxrt rtai_pthread rtai_utils rtai_sched_smp rtai

(this is all one line))

For the Old Version (Fallback):

  • In the ‘root’ windows,
    • in the first window type 
 cd /home/wfcam/ucam-wfcam/bin
./startup_camera
  • In the second window type 
 cd /home/wfcam/ucam-wfcam/bin
./startup_filesave
  • In the wfcam windows:
    • in the first window, type:
 cd /home/wfcam/ucam-wfcam/bin
./startup_demux
  • In the second window type
 cd /home/wfcam/UClient.old/build/bin
./ucam

(this brings up the UClient)

  • To run gaia:

do the same as above to switch between WFCAM and UIST

  • uclient: (it runs out of the source tree)
 cd /jac_sw/itsroot/src/engineering/uclient/build/bin
mv ucam.conf ucam.conf_<instrument>
mv ucam.conf<other instrument> ucam.conf

(that one’s easy)

  • Waveforms: (they’re in the install tree only)

This only needs to be done for uclient now as the script that runs up the low level software for the OCS has the paths to the waveforms hardwired.

  cd /jac_sw/itsroot/install
mv ucam ucam_<instrument>
mv ucam_<other instrument> ucam

(currently WFCAM is ucam_0p1, UIST is ucam_0p3)

  • oracda is now common for all instrument (I hope, it’s only been used for WFCAM and UIST so far and is oracda_12p0.
    • Note: there are currently 4 versions:
      • oracda_10p2: the version we’ve been running since June 2006, cassegrain including UIST with Edict
      • oracda_11p0: WFCAM with new acquisition machines.
      • oracda_11p1: UIST with sdsu. This was run in simulation in Hilo but I haven’t been able to run it up at UKIRT yet (as of 10/20/06)
      • oracda_12p0: UIST and WFCAM with SDSU, not run with CGS4 or UFTI yet (as of 4/17/07)