Argonne National Laboratory

Experimental Physics and
Industrial Control System

2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  <20182019  2020  2021  Index 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  <20182019  2020  2021 
<== Date ==> <== Thread ==>

Subject: Re: New/improved iocsh debug utility functions (dbli)
From: Dirk Zimoch <dirk.zimoch@psi.ch>
To: <core-talk@aps.anl.gov>
Date: Fri, 2 Mar 2018 17:03:28 +0100
I could fix the problem that infos may appear on the alias dbRecordNode, but to allow 'caget alias.info' I needed dbRecordNode.aliasedRecnode which Michael introduced in 3.16(?). Thus it would make sense to implement CA to info fields in 3.16+ only, right? For my tests, I have simple back-ported aliasedRecnode to 3.14.12.7.

Dirk

On 02.03.2018 11:31, Dirk Zimoch wrote:
One thing is a bit confusing at them moment:
When a record has infos and aliases, the infos are bound to the previous alias, not to the original record:

record (ai, "dz:ai")
{
  alias("alias1")
  info(my_info_field, "Hello World")
  alias("alias2")
}
alias("dz:ai","alias3")

epics> dbla
alias1 --> dz:ai
alias2 --> dz:ai
alias3 --> dz:ai

epics> dbli
alias1.my_info_field "Hello World"

$ caget dz:ai.my_info_field
Channel connect timed out: 'dz:ai.my_info_field' not found.

$ /usr/local/epics/base/bin/SL6-x86_64/caget alias1.my_info_field
alias1.my_info_field           Hello World

$ /usr/local/epics/base/bin/SL6-x86_64/caget alias2.my_info_field
Channel connect timed out: 'alias2.my_info_field' not found.

$ /usr/local/epics/base/bin/SL6-x86_64/caget alias3.my_info_field
Channel connect timed out: 'alias3.my_info_field' not found.

Need to fix that...

Replies:
Re: New/improved iocsh debug utility functions (dbli) Dirk Zimoch
References:
New/improved iocsh debug utility functions Dirk Zimoch
Re: New/improved iocsh debug utility functions Andrew Johnson
Re: New/improved iocsh debug utility functions (dbli) Dirk Zimoch
Re: New/improved iocsh debug utility functions (dbli) Dirk Zimoch

Navigate by Date:
Prev: Re: MSI Makefile Madness Konrad, Martin
Next: Build failed in Jenkins: epics-base-3.15-win64 #340 APS Jenkins
Index: 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  <20182019  2020  2021 
Navigate by Thread:
Prev: Re: New/improved iocsh debug utility functions (dbli) Dirk Zimoch
Next: Re: New/improved iocsh debug utility functions (dbli) Dirk Zimoch
Index: 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  <20182019  2020  2021 
ANJ, 08 Mar 2018 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·