CaltechOpticalObservatories / camera-interface

Detector controller interface server supporting Archon and ARC (aka "Leach") controllers.
7 stars 1 forks source link

Camera Interface

Camera Detector Controller Interface Software

Reporting Issues

If you encounter any problems or have questions about this project, please open an issue on the GitHub Issues page. Your feedback helps us improve the project!

Requirements

Controller Compatibility

Archon Controllers ARC Controllers
g++ 8.1 or higher (and C++17) g++ 8.3 (and C++17)
ARC API 3.6 and Arc66PCIe driver

Build Instructions

  1. Change to the build directory:

    $ cd build
  2. Start with a clean build: Delete the contents of the build directory, including the CMakeFiles/ subdirectory, but not the .gitignore file.

    $ rm -Rf *
  3. Create the Makefile by running CMake (from the build directory):

    Archon ARC
    $ cmake .. $ cmake -DINTERFACE_TYPE=AstroCam ..
  4. Compile the sources:

    $ make
  5. Run the Camera Server:

    • As a foreground process:

      $ ../bin/camerad <file.cfg> --foreground
    • As a daemon:

      $ ../bin/camerad -d <file.cfg>

    Replace <file.cfg> with an appropriate configuration file. See the example .cfg files in the Config and Config/demo directories.

  6. (Optional) Run the Archon Emulator:

    $ ../bin/emulator <file.cfg>

    Note: The emulator software will only be compiled when INTERFACE_TYPE is set to Archon (default).

  7. (Optional) Run Unit Tests:

    $ ../bin/run_unit_tests

David Hale
dhale@astro.caltech.edu