Skip to content
Snippets Groups Projects
Select Git revision
  • master default protected
1 result

amptekhardwareinterface

  • Clone with SSH
  • Clone with HTTPS
  • user avatar
    Christian authored
    - Created classes for storing the status and spectrum data
    - Removed the status query functions in AmptekHardwareInterface
    - updateStatus will return a reference to the status. Python code should
    use this instead of the removed query functions. E.g. instead of
    interface.FastCount(), interface.updateSpectrum(max_age).FastCount()
    will result in the same behaviour
    - Cleanup of the list mode/ sequential mode functions, which were
    prototyped during hardware tests
    - Added Doxygen comments to AmptekHardwareInterface and AmptekStatus
    member functions
    bf6ab8c2
    History
    Name Last commit Last update
    include
    python
    src
    .gitignore
    README.md
    main.cpp
    setup.py

    AmptekHardwareInterface

    Communication interface for Amptek PX5 as a new backend for a Tango Device Server. This interface will be designed to work with both, USB and UDP connection. It is based on the original AmptekPX5 Tango Device Server.

    Current Plan is, to strip the connection-dependent part to seperate comm handlers for USB and UDP and use common code for everything except receiving and sending of the packets. The Tango Server will the be implemented using python and SWIG. This is based on the much more modern design of Tango device servers in python resulting in a better readability and development. No need for code generators!

    Install

    Run

    python setup.py install

    TODOs

    • propagde the device state properly up to tango
    • verify correct error handling
    • add comments, docs