Skip to content

Latest commit

 

History

History
79 lines (49 loc) · 1.2 KB

README.md

File metadata and controls

79 lines (49 loc) · 1.2 KB

In the following you can find quick installation and usage procedure

Installation

Create a conda environement

Install anaconda (if you don't have anaconda)

  wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh
  bash miniconda.sh -b -p
  conda update -q conda

Create a conda environement

conda env create -f environment.yml
source activate cts

Install requirements

pip install -r requirements.txt

build and install python-opcua as in OpcUaCameraSlowControl/python-opcua

build and install python-can as in OpcUaCameraSlowControl/BUS-SST1M

then run

python setup.py build

and eventually if you need to integrate it to your environement

python setup.py install

Usage

CTS OpcUa Server

Start by running the server

$ source activate ctapipe
(ctapipe) $ python cts_opcua/cts_opcua_server.py angle

where angle can be 0,120,240

CTS Control

Then in another console run the client

$ source activate ctapipe
(ctapipe) $ python CTSControl.py angle

when launching the client the various functionnalities are detailed

or the more advanced

python RunManager.py -y theyamlfile