Skip to content

janis-hag/kalao-ics

Repository files navigation

KalAO

GitHub commit activity (branch) GitHub language count

The KalAO Instrument Control Software


Features

  • PLC control through OPCUA
  • Thorlabs Filterwheel control through TTYUSB

TODO

  • CACAO python control
  • EULER Telescope inter-process communication
  • Stand-alone filterwheel driver

System deployment

  • Pull into '~/kalao-ics/'
  • Install configuration files symlinks:
    kalaortc01:~>cd kalao-ics/kalao-config/
    kalaortc01:~/kalao-ics/kalao-config>bash ./install_symlinks.sh
  • Start systemd serviced:
    kalaortc01:~>cd kalao-ics/kalao-config/
    kalaortc01:~/kalao-ics/kalao-config>bash ./enable_systems.sh

Configure telescope header content

Edit content of

  • $THOME/config/ske_fits/generic_tele/kalao_descripteurs.ske
  • $THOME/config/ske_fits/generic_synchro/kalao_descripteurs.ske

AO calibration and testing

Measuring the latency with mlat

  • turn on the laser
  • run mlat
  • verifying output with gnuplot
  • cd ~/kalao-cacao/workdir/kalao-workdir/dmloop-workdir/fps.mlat-1.datadir
  • gnuplot
  • gnuplot> plot "hardwlatency.dat" u 2:3

acqlin_zRM

compsCM-1

Sending turbulence on the DM

Start milk sessions by typing 'milk'

  • Load turbulence file
  • milk> loadfits "cube12_12_60000_v10mps_1ms_clean.fits" imc
  • Open DM SHM channel
  • milk> readshmim dm01disp04
  • Send turbulence on DM channel at 1000 microsecond refresh rate
  • milk> streamburst imc dm01disp04 1000

Help for the commands is given with:

milk> cmd? streamburst