STARTUP
This section describes how to startup PMAS after installation at the telescope, after any regular shutdown, or when recovering from power failure.

  • Connect PMAS 230VAC and LAN cables
    NOTE: CCD controller power supplies are independent of PMAS main power switch in order to keep cryostat thermostats online at all times. The instrument 230VAC cable should be connected soon after mounting PMAS to the telescope or removal to the storage room.
  • Switch on PMAS Electronics Main Switch , reset VME controller "lea" using VME board front panel switch
  • From any terminal, connect to Terminal Server "pmastsvr", boot Instrument Control Computer "rike"
  • login to "rike" and check whether VME controller is alive (ping lea)
  • Locate X-Terminals cax14:0.0, cax13:0.0/cax13:0.1, and dospan0:0/dospan0:1 in 3.5m Telescope Control Room
    ( from left to right in Fig. 1 )

    Setup X-Terminals:
    cax14:0.0 XDMCP, connect to "rike", select OpenWindows desktop (not CDE), see Fig. 2.
    Create xterm, kill FileManager and other disturbing widgets. Later on, the xterm shall be used for an IDL session, and as command line interface related to the A&G camera GUI.
    cax13:0.0 In XDMCP mode, connect to "ultra1".
    From xterm, login to "rike" using ssh. On rike prompt, type:
    dm2k
    ... generates PMAS Status Window, see Fig. 3
    cax13:0.1 create another "rike" xterm window. Type:
    ~/scripts/setup_cax13
    ... this scripts generates spectrograph (spec) and A&G camera (ag) windows and CCD status widgets, see Fig. 4.
    Start spectrograph CCD controller: in spec window (green xterm), type:
    s_start_ace_4k ( for single chip 2Kx4K camera CAM-04 )
    ( or: s_start_ace_mosaic for 2x 2Kx4K mosaic camera CAM-05 )
    Start A&G camera CCD controller: in ag window (yellow xterm), type:
    a_start_ace
    ... these scripts should load various parameters and print a final boot message as shown in Fig. 5.
    Drag xterm window to size and location near bottom of desktop as shown in Fig. 6. Later on, this xterm shall be used for an IDL session, and as command line interface related to the spectrograph GUI.
    As a double check routine, start wiping on both CCDs:
    a_wipe on
    s_wipe on
  • On Terminal cax13:0.1 choose a new Virtual Desktop, open a new Xterm, login into rike, and initialize the VME hardware by typing:
    slmpia ... get IDL license
    cd ~/idl
    idl ... start IDL session
    pics_init, e, /ALL ... initialize VME hardware and CCDs, setup observation (full init, lasts approx. 15min)
    NOTE: for re-init of CCDs with no need to initialize VME hardware again, type: pics_init, e, /ACE, /DB
    For quick re-init when IDL session was terminated (or killed), type: pics_init, e, /QUICK
  • check status of all motorized components as indicated on Status Window
  • From within the IDL session, startup PMAS Instrument Control GUI (pics_gui.pro), type :
    pics_gui2
  • Once the previous tasks have been completed, start a new IDL session on Terminal cax14:0.0, and initialize with pics_init (partial init without motor hardware) :
    • In this last terminal, startup PMAS Acquisition & Guiding GUI (pics_ag.pro), type :
      pics_ag
    • take spec CCD bias frame, check result on pics_gui
    • take acq CCD exposure of  0 sec, check result on pics_ag
    • exchange grating if necessary, use IDL programme pics_grat_exchange.pro
    • mount filters if necessary, use IDL programme pics_filt_exchange.pro (when using this programme it is advisable to close the GUI pics_ag before executing it). During this procedure, enter known best focus values (to be stored in PMAS realtime database). If best focus values are unknown, follow next step.
    • determine filter focus in storage room:
      • use star simulator to project artificial star. Perform focus series with pics_ag.pro, menu "Focus", "AGFOC series
    • determine filter focus at the telescope:
      • move CALUNIT into Observing Mode, switch on continuum lamp and open shutter to create straylight which will lighten up dust particles on the field mirror. Some of the more point-like sources can be used as artificial stars for focussing. Instead of the dust particles, it is also possible to use the engraved cross in the mirror. In this case, and since the mirror is tilted, the two horizontal segments must be focused (while the two vertical ones will not).
    • PMAS Logbook :
      • After having finished the entire startup procedure, take a note in the PMAS Logbook. Indicate grating and filter changes (with best focus values for use in future observing runs).

    slmpia ... get IDL license
    cd ~/idl
    idl ... start IDL session
    pics_init, e, /DB IMPORTANT: note the use of /DB instead of /ALL