1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 <2021> 2022 2023 2024 | Index | 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 <2021> 2022 2023 2024 |
<== Date ==> | <== Thread ==> |
---|
Subject: | CS-Studio syntax with tango servers as process variables |
From: | Thiago Peixoto via Tech-talk <tech-talk at aps.anl.gov> |
To: | tech-talk at aps.anl.gov |
Date: | Wed, 7 Jul 2021 17:19:30 +0200 |
Dear All,
We've been trying to implement Tango Controls on our instrumentation with GUI widgets made in CS-Studio. And even though the Tango servers are set up and working, I've been struggling with making the OPI widgets read and write the attributes of our Tango devices. So, output widgets are shown purple and disconnected, while input boxes are grayed out. I am not sure whether this is simply a matter of bad syntax of the PV Names or a deeper problem. The following error message seems to point towards the latter:
ERROR: Failed to write PV:host/device/Attribute Cannot
write to host/device/Attribute, not connected
java.lang.Exception: Cannot write to host/device/Attribute,
not connected
I would say I might have forgotten to set up something, but since I am completely beginner in CS-Studio, I simply don't know where to begin with. And the online documentation on the CS-Studio/Tango applications are really rare and hard to find.
My global DEVICE names basically have the form
tango://host/device and global ATTRIBUTE names are exactly as
defined in the Tango servers (considering case sensitivity), so
that my PV names are defined as $(DEVICE)/$(ATTRIBUTE). Some LED
widgets at least appear as 'off', while others appear as
disconnected.
Any clue anyone? I appreciate any input here.
Kind regards,
Thiago
-- Thiago Peixoto, Dr. PostDoc - Hard X-ray Photoelectron Spectroscopy (HAXPES) Deutsches Elektronen-Synchrotron DESY Notkestr. 85, 22607 Hamburg Germany