EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  <20162017  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  <20162017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: Problem in updating EGU field in CSS-BOY
From: Shantonu Sahoo <[email protected]>
To: "Kasemir, Kay" <[email protected]>
Cc: Anindya Roy <[email protected]>, EPICS Tech-Talk <[email protected]>
Date: Mon, 4 Jul 2016 12:15:54 +0530
Thanks for the support.
But I am stuck at the first step that you suggested. I could not get the property change updates using 'camonitor -m p' on the command line when I change the units.
I am using EPICS base 3.14.12.5. I guess DBE_PROPERTY was introduced in 3.14.11, so it should work with 3.14.12.5. Am I missing out something?

Shantonu Sahoo
वैज्ञानिक अधिकारी / Scientific Officer
कंप्यूटर एवं सूचना वर्ग / Computer and Informatics Group
परिवर्ती ऊर्जा साइक्लोट्रॉन केन्द्र / Variable Energy Cyclotron Center
Ph: (033) 23182300


[email protected] wrote: -----
To: EPICS Tech-Talk <[email protected]>
From: "Kasemir, Kay"
Sent by: [email protected]
Date: 06/07/2016 10:21PM
Subject: Re: Problem in updating EGU field in CSS-BOY

Hello:


The support for DBE_PROPERTY has been added to CS-Studio some time ago, but that was at a time when the Channel Access gateway didn't support it, and on the IOC side basically only the 'enumeration' labels of respective record types (bi, bo, mbbi, mbbo) sent out DBE_PROPERTY updates.

What's happening is that the CA client creates two subscriptions: One for value updates, and one for property updates. If you have older IOCs or CA gateways, they won't understand the second subscription, so the client gets one error per channel from those refused subscriptions.
The DBE_PROPERTY feature has thus not been used a lot, and I must admit I've basically forgotten about it since we can't universally use it in our local setup (older IOCs, ..).

Still, fundamentally the support should be there.

Check with 'camonitor' on the command line, using the "-m p" option to monitor property changes, so assert that your record indeed sends updates when you change the units.

Then use a recent version of CSS, something with 4.2.x as a version number.
Its "diirt PVManager" is unfortunately configured via files outside of CSS.
In Edit/Preferences, look for CSS Core, Diirt preferences. You specify a Diirt configuration directory that needs to contain files like the ones found here:
https://github.com/ControlSystemStudio/org.csstudio.sns/tree/master/features/org.csstudio.sns.feature.snscore/rootfiles/diirt

Note the file datasources/ca/ca.xml, it contains a setting `dbePropertySupported` that defaults to false.
You need to set that to 'true'.

Now tools that use the "diirt PVManager" should receive monitors for property changes. This includes BOY as long as you have the Edit, Preferences, CSS Applications, Display, BOY, OPI Runtime setting for "PV Connection layer" set to "pvmanager".

If it doesn't work, we should create an issue ticket on https://github.com/ControlSystemStudio/cs-studio/issues to continue the discussion there.

Thanks,
Kay




From: [email protected] <[email protected]> on behalf of Ralph Lange <[email protected]>
Sent: Tuesday, June 07, 2016 8:04 AM
To: EPICS Tech-Talk
Subject: Re: Problem in updating EGU field in CSS-BOY
 
Dear Shantonu,
The new Channel Access event type flag DBE_PROPERTY was introduced in EPICS 3.14.11, but proper support for the EPICS records is only available in the EPICS 3.15 series.

I do not have a good idea about how CS-Studio, BOY and CAJ are supporting this feature. I was prompting you for the versions, hoping that one of the CS-Studio people would pick your question up. (With the version numbers, they should be able to give an answer.)
Sorry...
~Ralph



On 07/06/2016 13:23, Shantonu Sahoo wrote:
 
Dear Ralph,
Can you tell me the exact versions of EPICS base, CSS and CAJ in which this feature is incorporated.

Shantonu Sahoo
वैज्ञानिक अधिकारी / Scientific Officer
कंप्यूटर एवं सूचना वर्ग / Computer and Informatics Group
परिवर्ती ऊर्जा साइक्लोट्रॉन केन्द्र / Variable Energy Cyclotron Center
Ph: (033) 23182300

[email protected] wrote: -----

To: Ralph Lange  <[email protected]>
From: Shantonu Sahoo
Sent by:  [email protected]
Date: 06/06/2016 03:27PM
Cc: EPICS Tech-Talk  <[email protected]>
Subject: Re: Problem in updating EGU field in CSS-BOY


I am using EPICS base-3.14.12.5, CS-Studio 4.1.4 , Java Utilities 3.2.0. I am not sure about the version of CAJ. I am not using EPICS CA Gateway.

Shantonu Sahoo
वैज्ञानिक अधिकारी / Scientific Officer
कंप्यूटर एवं सूचना वर्ग / Computer and Informatics Group
परिवर्ती ऊर्जा साइक्लोट्रॉन केन्द्र / Variable Energy Cyclotron Center
Ph: (033) 23182300

-----Ralph Lange  <[email protected]> wrote: -----

To: EPICS Tech-Talk  <[email protected]>
From: Ralph Lange  <[email protected]>
Date: 06/06/2016 02:19PM
Cc: Shantonu Sahoo  <[email protected]>
Subject: Re: Problem in updating EGU field in CSS-BOY

A feature to allow such updates of metadata has been added to EPICS Base and the Channel Access protocol recently.
What versions of EPICS Base (your IOC), CS-Studio (your client) and CAJ (the Java CA client library inside CS-Studio) are you using? Is there an EPICS CA Gateway involved? (If yes, what version?)
Thanks,
~Ralph



On 06/06/2016 10:29, Shantonu Sahoo wrote:
 
I am using CSS-BOY to display a process variable using "Text Update". I have checked the "Show Units" property. So, in addition to the VALue, it displays the string that is specified in the EGU field of the record. But, in the runtime, if the EGU field  changes, it is not updated in the OPI until I do "Refresh OPI". In contrary, the VALue is updated smoothly. 

Shantonu Sahoo
वैज्ञानिक अधिकारी / Scientific Officer
कंप्यूटर एवं सूचना वर्ग / Computer and Informatics Group
परिवर्ती ऊर्जा साइक्लोट्रॉन केन्द्र / Variable Energy Cyclotron Center
Ph: (033) 23182300
    
  


Replies:
Re: Problem in updating EGU field in CSS-BOY Ralph Lange
Re: Problem in updating EGU field in CSS-BOY Shantonu Sahoo
References:
Re: Problem in updating EGU field in CSS-BOY Kasemir, Kay
Re: Problem in updating EGU field in CSS-BOY Shantonu Sahoo
Re: Problem in updating EGU field in CSS-BOY Ralph Lange
Problem in updating EGU field in CSS-BOY Shantonu Sahoo
Re: Problem in updating EGU field in CSS-BOY Ralph Lange

Navigate by Date:
Prev: gddAppFuncTableStatus string Patrick Thomas
Next: Re: Problem in updating EGU field in CSS-BOY Ralph Lange
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  <20162017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: Problem in updating EGU field in CSS-BOY Kasemir, Kay
Next: Re: Problem in updating EGU field in CSS-BOY Ralph Lange
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  <20162017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 15 Jul 2016 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·