AIDA GELINA BRIKEN nToF CRIB ISOLDE CIRCE nTOFCapture DESPEC DTAS EDI_PSA 179Ta CARME StellarModelling DCF K40
  CARME  ELOG logo
Message ID: 666     Entry time: Sun Apr 6 14:21:53 2025
Author: TD 
Subject: [How To] Startup CARME 
- water flow/interlock checks
   check water flow to/from inflow/outflow manifolds
   check all coolant lines to all FEE64s are connected
   check USB-controlled ac mains relay 'water' LED illuminated                                 water flow and dew point sensor interlocks OK

- carme-gsi network cabling
   from patch panel YR10/2
    yellow network cable to carme-gsi operating in 19" rack room (2.033)
    green network cable to carme-gsi operating in counting room (2.034)

- boot carme-gsi
   systemctl start dhcpd                                                                       start DHCP dynamic network configuration 
   ssh -L 8080:proxy.gsi.de:8080 carme@atppc025                                                establish proxy port for AnyDesk access
   ssh -X pi@nnrpi1
    /MIDAS/TclHttpd/linux-arm/TclHttpd-server &                                                start MIDAS server
   ssh -X pi@nnrpi1
    ./caen_screen.sh                                                                           start CAEN N1419ET control interface

- enable current logging
  open a new terminal
  ssh pi@nnrpi1
  cd Programs/caenlogger
  caenlogger --config caenlogger_config_gsi.toml
   
  open a new terminal
  cd Programs/caenlogger
  gnuplot plot_current.gp

- system log
   sudo tail -f /var/log/messages                                                              monitor system log e.g. filesystem mounts for FEE64 embedded processors
   (sudo does not work - use su instead. will have to fix)

- FEE64 power ON
   Start browser on nnrpi1:8015
   Power On

- Start MIDAS
   select server start icon (leftmost)                                                            1x terminal session will appear
   Start browser tab localhost:8015
 
   Data Acquisition Control Services
   Update (nothing should change)

   Act on all Data acquisition server TICKED   
   RESET
   SETUP
   
   Enable histograms and waveforms

  Open ASIC control
  Act on all FEE64 modules
  Act on all ASICS
  System functions -> Check ASIC control

  Check FEE64 temperatures (Reload)

  System wide checks
     Clock
     ADC Calibration
     White Rabbit
     Drop down -> collect FPGA errors
     Check FPGA
     Synchronise ASIC clocks

  FADC Align & Check - all FEE64s
  Drop down -> calibrate ADCs
  System wide checks
    Clock
    ADC calibration
  If any FEE fails, FADC calibrate it again

  DAQ GO

  WR timestamp                                                                  check WR timestamp monotonically increases aida01->aida16          


  To startup Merger and Tape Server

  DAQ STOP                                                 

  8115 server, tape server, merger -> from buttons on top 
         3x terminal sessions will appear

  Start browser tab localhost:8115
  New Merge control
  Tape Service
  NetVar Service

  Merger tab
   (top) setup
   go (ignore error message)
   enable output to data storage                                                Merger State = GOing : merge/running : xfer Links => Merger => Storage
  
  tape server
   Inquire Available Devices
   Allocate Device
   
   Enter volume name (if already defined)
   Mount volume
   Reload   
   Set run number
   Open file

   Open a new terminal
   Navigate to /TapeData/ and the volume name
   watch ls -lht                                                                

   Enable data transfer #1 (in Run Control)
   X should appear next to every FEE


  Check netvar variable NetVar.MERGE.RunOptions = 1

   DAQ GO
    check merger rate and activity of all FEE64s
    check tape server blocks written number is increasing
   Server state -> Go
ELOG V3.1.4-unknown