A CAN wrappper for MOPS messages
Project description
CANMOPS for DCS Controller
This Python package provides a set of functions and GUI to communicate with the DCS ASIC: Monitoring Of Pixel System (MOPS). It communicates with a CAN interface and talks CANopen with connected MOPS. Currently CAN interfaces from AnaGate (Ethernet), Kvaser (USB) and SocketCAN Kernel are supported.
Installation
This Python package requires a working Python 3.6 Installation. I recommend the usage of Anaconda which is available for all platforms and also easy to install and manage.
For more information contact ahmed.qamesh@cern.ch
Dependencies
All third-party Python packages that are needed can be found on the Twiki page. The necessary AnaGate libraries are also included in this repository. For the use of Kvaser CAN interfaces you have to install the Kvaser drivers first which are avaiable for Windows and Linux.
System Requirements:
Operating System: Windows and Linux
AnaGate interface
If you are using an AnaGate Ethernet CAN interface you will probably need to manually set the IP address of your network card so that the interface is part of its network. The default IP address of an AnaGate CAN interface is 192.168.1.254, so you should set the IP address of your network card to 192.168.1.1.
Kvaser interface
It has happened that the USB port was not correctly reset after the Kvaser interface has been disconnected so that the connection to other USB devices could not be established. As a workaround I recommend rebooting the system.
Documentation
Documentation can be found under: https://gitlab.cern.ch/aqamesh/canmops/-/wikis/home
Under development: https://canmops.readthedocs.io/en/latest/installation.html
Installation and usage
Clone the repository to get a copy of the source code (for developers):
git clone ssh://git@gitlab.cern.ch:7999/aqamesh/canmops.git
Make sure that the CAN interface is connected and the needed software is installed. Simply in the home directory run:
python CANMOPS_GUI.py
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.