Calibration unit

Error (85): Axis has not been homed

Symptom
While trying to move one of the element of the calibration unit, or while running a focus/offset script, there is an error.
Problem
The calibration unit has not been initialized
Solution
  1. From the command line, run:
    	kcwiHomeCalUnit
    

Computers & Software

 

DCS or instrument keywords missing in image headers

Symptom
Keywords such as RA, Dec, ROTPPOSN, or keywords related to the instrument status, are not found in the image headers. These keywords can still be obtained from the kcwiserver command line via show -s dcs commands or by showing individual servers keywords.
Problem
The keygrabber process has lost its connection to DCS or to one of the servers, or it is not running.
Solution
Use this procedure to restart keygrabber:
  1. Wait for the exposure to end; do not begin another
  2. kcwi stop keygrabber
  3. kcwi start keygrabber/kbd>
Newly-acquired images should now have these keywords in the image header.

MIRA fails with "cp: missing second argument" error

Symptom
The MIRA procedure starts but as soon as a focal plane camera image is taken, the script ends with an error about missing second argument on "cp"
Problem
The filename of the focal plane camera images is wrong.
Solution
The filename of the focal plane camera should be in the format: kfYYMMDD_<number>.fits
  1. Check the expected filename with the command framerootfpc
  2. Check the current filename with the command show -s kfcs outfile
  3. If they are different, use the following command to fix the problem: modify -s kfcs outfile=`framerootfpc`
  4. Re-run MIRA

Rotator

Rotator does not accept demand or timestamp keywords updates

Symptom
A direct write (modify -s kros rottdmd=0), or running watch_dcs_rotator, produces errors and is rejected
Problem
The rotator is not fully initialized
Solution
On a terminal on kcwiserver, modify the following keywords
modify -s kros rotsetup=1 
modify -s kros rotservo=1 
modify -s kros rotfrctrk=1 
modify -s kros rotcor=-0.5 

Guider

The guider reports "INTERNAL MODE"

Symptom
Using the EXPOSE button produces errors for "INTERNAL MODE"
Problem
The kcwi magiq camera server is not working correctly.
Solution
The OA can fix this problem by restarting the KCWI magiq camera server

Other

KCWI alarm emails: "WARNING: KCWI Vac-ion may me off"

Symptom
You are getting emails from kcwirun@keck.hawaii.edu with the subject "WARNING: KCWI Vac-ion may me off".
Problem
The vacuum ion pump may be off.
Solution
Check that we are not actively filling by logging in to kcwirun@kcwiserver and checking that the artfilling keyword is zero:
show -s kbms artfilling alternatively, you can look at the kbmsfillgui.
If we are not filling, you can restart the ion pump:
modify -s kbvs pumpstart=1
and now if you do:
show -s kbvs hvon
it is showing as 1, the correct value.