This repository has been archived by the owner on Apr 26, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
45 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
|
||
Install and test CopyCatDS | ||
========================== | ||
|
||
Install fandango library | ||
------------------------ | ||
|
||
Note that, although not mandatory, most of fandango requires PyTango previously installed. | ||
|
||
With PIP (may need sudo):: | ||
|
||
pip install --upgrade fandango | ||
|
||
From a GIT clone (may need sudo):: | ||
|
||
git clone https://github.com/tango-controls/fandango | ||
cd fandango | ||
python setup.py install | ||
|
||
If you're just trying it, I suggest to use a VirtualEnv (no sudo required):: | ||
|
||
virtualenv test --system-site-packages | ||
source test/bin/activate | ||
pip install --upgrade fandango | ||
source test/bin/activate | ||
|
||
Setup your CopyCatDS | ||
-------------------- | ||
|
||
Create and setup the device (image attributes not well supported yet):: | ||
|
||
fandango.sh add_new_device CopyCatDS/test CopyCatDS test/copycatds/01 | ||
fandango.sh put_device_property test/copycatds/01 TargetDevice SYS/TG_TEST/1 | ||
fandango.sh put_device_property test/copycatds/01 CopyAttributes '(?!.*image.*$)' | ||
|
||
Start it | ||
-------- | ||
|
||
:: | ||
|
||
python $(fandango.sh findModule fandango)/interface/CopyCatDS.py test -v2 & | ||
|
||
Show it with atkpanel or taurusdevicepanel:: | ||
|
||
taurusdevicepanel test/copycatds/01 & |