Concert is a light-weight control system interface to control Tango and native devices. It can be used as a library:
from concert.quantities import q from concert.devices.motors.crio import LinearMotor motor = LinearMotor() motor.position = 10 * q.mm motor.move(-5 * q.mm)
or from a session and within an integrated IPython shell:
$ concert init session $ concert start session Welcome to Concert This is a new session. In [1]: motor.position = 10 * q.mm In [2]: dstate Out[2]: ----------------------------------------- Name Parameters ----------------------------------------- Motor position 10.0 millimeter state standby -----------------------------------------
You can read more about Concert in the official documentation.
Installation
Install the latest stable version from PyPI with pip:
sudo pip install concert