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  <20112012  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  <20112012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: sseq record and strings
From: Ralph Lange <[email protected]>
To: Pierrick Hanlet <[email protected]>
Cc: "[email protected]" <[email protected]>
Date: Thu, 28 Jul 2011 19:11:57 +0200
On 28.07.2011 18:04, Pierrick Hanlet wrote:
Hi,
I have an sseq record which I would like to use to fill both the value and
the EGU field of another record.  I'm OK with filling the value.

Namely, I have a stringin record with value "Torr"; I'll call it myRecord:UNIT.
I want to use myRecord:UNIT to fill the EGU field of another record.  If
I understand the documentation (I clearly don't), I ought to be able to do:

field(DOLx,"myRecord:UNIT")
field(LNKx,"anorhterRecord:P.EGU PP")

I've tried numerous things, but nothing works.  Please help. I'm at my wits end.

Hi Pierrick,

are you sure it does not work?

Note that through Channel Access, the application (CA client) gets the units field as part of of the "GR" (graphics) or "CTRL" (control) DBR types. The IOC (CA server) usually does not send an update if one of the additional properties change. Many clients (such as display managers) only get the graphics info once, when they connect to a PV the first time. That means ... even if the sseq record perfectly updates the EGU field, existing CA clients might need to be forced to reconnect (i.e. get restarted, or panels being reopened) to actually see the changed units info. If a client works through a CA Gateway, even restarting the client might not help, as the Gateway can be configured to cache data for a certain period.

Please use "dbpr" on the IOC to check if the target record's EGU field has changed.

(On a different aspect: I don't understand the use of "PP" on the link writing to the EGU field. This won't work over CA, and might not make too much sense locally.)

Good luck!
~Ralph

References:
sseq record and strings Pierrick Hanlet

Navigate by Date:
Prev: Re: Controls Network Monitoring Tools S. Banerian
Next: RE: Controls Network Monitoring Tools Zhou, Jingchen
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  <20112012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: sseq record and strings Pierrick Hanlet
Next: Re: sseq record and strings J. Lewis Muir
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  <20112012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 18 Nov 2013 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·