https://github.com/cnpem/adpimega
EPICS areaDetector driver for the PiMega detectors
https://github.com/cnpem/adpimega
Last synced: about 1 month ago
JSON representation
EPICS areaDetector driver for the PiMega detectors
- Host: GitHub
- URL: https://github.com/cnpem/adpimega
- Owner: cnpem
- License: other
- Created: 2024-09-30T14:13:43.000Z (8 months ago)
- Default Branch: master
- Last Pushed: 2025-04-24T20:13:14.000Z (about 1 month ago)
- Last Synced: 2025-04-26T08:35:43.387Z (about 1 month ago)
- Language: C++
- Homepage:
- Size: 5.58 MB
- Stars: 4
- Watchers: 6
- Forks: 2
- Open Issues: 18
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Pimega area detector IOC
This is an IOC for all the Pimega area detector variations (540D and 135D). It must be included in compiled in the areaDetector folder of synApps.
## dependencies
* [pimega-api](https://gitlab.cnpem.br/DET/pimega/pimega-api.git)## build
make sure your EPICS_HOST_ARCH environment variable is set. Possible values are linux-ppc64 or linux-x86_64. After that run the following```
cd ADPimega
make -j4
cd iocs/pimegaIOC/iocBoot/iocPimega
make envPaths
```## Run
```
cd iocs/pimegaIOC/iocBoot/iocPimega
./.cmd
```## Test
To execute tests, first you need the requirements listed on `requirements-dev.txt`. Create a Python virtual environment and install those requirements.When installed, just call `pytest` with the virtual environment active.
To enable verbose output, call `pytest -s`.```bash
$ python3 -m venv venv
$ source venv/bin/activate
$ pip3 install -r requirements-dev.txt
$ pytest -s . # -> Run this to start the test
```__Important__: use the file `test/pytest.ini` to set custom EPICS and pytest configuration, if necessary.