PRO pics_init, error, RUN=varrun, NIGHT=varnight, $ S_BIAS=var_s_bias, A_BIAS = var_a_bias, ACE=varace, $ VME=varvme,PRESET=varpreset,DB=vardb,DUMMY=vardummy, $ QUICK=varquick, ALL=varall, VERSION=varversion ;++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ ; ;*NAME: pics_init ; ;*CATEGORY: ; ;*PURPOSE: ; ;*CALLING SEQUENCE: pics_init, error, [,Keywords] ,/DB ; or: pics_init, error, [,Keywords] ,/DBDUMMY (off-line testing) ; ;*PARAMETERS ; input: - none - ; ; output: error (currently not meaningful) ; ; Keywords: /ACE: initialize CCD controllers ; /S_BIAS : take spec bias exposure ; /A_BIAS : take acq bias exposure ; ; /VME: initialize VME controllers and subunits ; /PRESET: preset default motor values und data base ; ; /DB: initialize picsdb database ; /DUMMY: initialize picsdb with dummy values ; for off-line testing ; ; /QUICK: minimal init, required after startup of IDL ; /ALL: initialize all subunits (requires a lot of time !) ; ;*EXAMPLES: ; ;*SYSTEM VARIABLES USED: ; ;*COMMON BLOCKS: ; ;*INTERACTIVE INPUT: ; ;*SUBROUTINES CALLED: ; ;*FILES USED: ; ;*SIDE EFFECTS: ; ;*RESTRICTIONS: ; ;*NOTES: ; ;*PROCEDURE: ; ;*MODIFICATION HISTORY: pics_init_VERSION = 'pics_init.pro Version 1.6.1 --- 05/09/02 mmr' ; ; 03/06/02 MMR initial programming ; 10/06/02 V1.1 mmr create picsdb, picsdbu, updated COMMON blocks ; 24/06/02 V1.2 mmr A&G CCD included ; 23/08/02 V1.3 mmr initializing PMAS motors and other hardware ; 24/08/02 V1.4 mmr /VME, /DBDUMMY (off-line testing) added ; 27/08/02 V1.5 mmr /QUICK added ; 30/08/02 V1.6 mmr missing picsdb update in /NIGHT and /RUN corrected ; 05/09/02 V1.6.1 mmr change of default CAM focus value ;-