Hi,
to test the Lima device server, I launched runtvx which seems to work.
I then created a conda environment pilatus and installed the device following the instructions, and according to advices given in #7
If I launchHere is my output:
(pilatus) det@dec1641:~> LimaCCDs pilatus-b29[2023/04/14 14:46:54.419118] 2b501cfc9f40 *CameraCom*Pilatus::Camera::setRoi (/opt/conda/conda-bld/lima-camera-pilatus_1669975141649/work/src/PilatusCamera.cpp:1200)-Error: Exception(Error): Could not set roi to:roi_pattern=0, m_error_message=access denied [thrown]
-------> Received a DevFailed exception: DevFailed[
DevError[
desc = limacore.Exception: Hardware: setRoi(/opt/conda/conda-bld/lima-camera-pilatus_1669975141649/work/src/PilatusCamera.cpp, 1200): Error: Could not set roi to:roi_pattern=0, m_error_message=access denied
origin = Traceback (most recent call last):
File "/home/det/miniconda3/envs/pilatus/lib/python3.9/site-packages/tango/device_class.py", line 574, in __DeviceClass__device_factory
device = self._new_device(deviceImplClass, klass, dev_name)
File "/home/det/miniconda3/envs/pilatus/lib/python3.9/site-packages/tango/device_class.py", line 553, in __DeviceClass__new_device
return klass(dev_class, dev_name)
File "/home/det/miniconda3/envs/pilatus/lib/python3.9/site-packages/Lima/Server/LimaCCDs.py", line 398, in __init__
self.init_device()
File "/home/det/miniconda3/envs/pilatus/lib/python3.9/site-packages/Lima/Core/Debug.py", line 64, in real_fn
return new_fn(*arg, **kw)
File "/home/det/miniconda3/envs/pilatus/lib/python3.9/site-packages/Lima/Server/LimaCCDs.py", line 434, in init_device
self.__control = _get_control()
File "/home/det/miniconda3/envs/pilatus/lib/python3.9/site-packages/Lima/Server/LimaCCDs.py", line 2781, in _get_control
control = m.get_control(**properties)
File "/home/det/miniconda3/envs/pilatus/lib/python3.9/site-packages/Lima/Server/camera/Pilatus.py", line 391, in get_control
_CtControl = Core.CtControl(_PilatusInterface)
limacore.Exception: Hardware: setRoi(/opt/conda/conda-bld/lima-camera-pilatus_1669975141649/work/src/PilatusCamera.cpp, 1200): Error: Could not set roi to:roi_pattern=0, m_error_message=access denied
reason = PyDs_PythonError
severity = ERR]
]
This is just a note to suggest to follow a first time the instructions given in the lima pilatus doc (i.e. cd p2_det/ && /runtvx before entering quit into tvx window) before being able to launch conda activate [ENV_NAME] && TANGO-HOST=[SERVER]:[PORT] LimaCCDs [INSTANCE_NAME].
Do you confirm this is the way to do it properly?
Is there a simpler way to do this?
If this manual step is mandatory, I understand installing tango-starter will not be useful. Do you confirm?
Hi, to test the Lima device server, I launched
runtvx
which seems to work.I then created a conda environment
pilatus
and installed the device following the instructions, and according to advices given in #7If I launchHere is my output:
This is just a note to suggest to follow a first time the instructions given in the lima pilatus doc (i.e.
cd p2_det/ && /runtvx
before enteringquit
into tvx window) before being able to launchconda activate [ENV_NAME] && TANGO-HOST=[SERVER]:[PORT] LimaCCDs [INSTANCE_NAME]
.Do you confirm this is the way to do it properly? Is there a simpler way to do this?
If this manual step is mandatory, I understand installing tango-starter will not be useful. Do you confirm?
Regards