- Drivers: talk to the instruments and handle all the specifics exposing a, hopefully, user friendly API.
- Backend: Organize more complex actions, that might or might not involve instruments.
- Frontend: Provide a user interface. It should not be required to work.
**Basic blocks**
The basic blocks are the following:
- Camera frontend and backend: cameraGUi and zylaCameraWorker
- MCCDAQ frontend and backend: controlGui and MCDAQcontrolsignals
There is and aditional block, which is the measurement block. Its frontend lies in the camera frontend, and its backend lies in the camera backend. From there, it also controls the daq control signals.
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
This application should enable to control, for now, a measurement computing daq and a zyla camera.
## Requisites
These requisites are recommended to be installed after creating the anaconda environment described below.
In windows, the mcculw package is needed. You can install it from https://pypi.org/project/mcculw/, where you need to follow some simple instrucions. After following those, open the installed
program Instalcal at least once for getting some neccesary updates.
In Linux, you will need the mccdaq package. You can install it from https://pypi.org/project/uldaq/. There you should go to the github repository and follow the build instructions.
Also, check requisites.txt, and install the python packages listed there. This can be usually done via PIP.
\ No newline at end of file
Also, check requisites.txt, and install the python packages listed there. This can be usually done via PIP.
## Getting started
You can run the Software directly from the repo. First install all
the dependencies in a conda environment:
$ conda create -n controlApp python=3.6
$ conda activate controlApp
$ conda install numpy pyqt pyqtgraph matplotlib
Then run it simply by calling main in that environment: