Skip to content
Snippets Groups Projects
Commit 0f761677 authored by Milan Prica's avatar Milan Prica :skier:
Browse files

Tested version, running at Elettra.

parents
No related branches found
No related tags found
No related merge requests found
Makefile 0 → 100644
NAME = flexhv-srv
MAIN = FlexHV.py
DIRNAME = $(NAME:-srv=)
MODNAME = $(MAIN:.py=)
PY_FILES += $(wildcard src/*.py)
default: bin ${PY_FILES}
@cp ${PY_FILES} bin/${DIRNAME}
@echo "#!/usr/bin/env python\nimport sys\nsys.path.append(sys.path[0]+'/${DIRNAME}')\nfrom ${MODNAME} import main\nif __name__ == '__main__':\n main()\n" > bin/${NAME}
@chmod +x bin/${NAME} bin/${DIRNAME}/${MAIN}
bin:
@test -d $@ || mkdir -p $@/${DIRNAME}
clean:
@rm -fr bin/ src/*~
.PHONY: clean
# FlexHV Power Supply
PyTango device that controls Flex high voltage power supplies.
Requires a socket-srv instance to communicate with the Flex hardware (default port: 10001).
File added
This diff is collapsed.
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment