Andrew Johnson wrote:
Hi Rod,
On Wednesday 23 February 2011 12:27:58 Rod Nussbaumer wrote:
GUI tools can
only use the IFACE field's configuration if there is also the
promptgroup(GUI_DISPLAY)
element added to the DBD file for the IFACE field description.
Is this correct, or do I simply not understand the record and/or the
meaning of the DBD file elements?
According to section 6.5.2 of the AppDevGuide you are correct, Database
Configuration Tools (DCTs) are only supposed to present and let users set
values for fields that have promptgroup() defined. However the document also
goes on to say that there are no known tools that actually follow this rule.
In section 6.5.3 a note under "gui_group" says that many record types haven't
assigned the right groups to some fields anyway. As Mark said, the IOC
currently ignores this rule (but in the future it might enforce it).
Evidently your CapFast conversion tool is following the documented rules, so I
would encourage Mark to add the above line for the next Asyn release. Other
record type authors should also make sure that they are defining promptgroup()
where appropriate, and DCT authors might want to look at using this to filter
out the run-time-only fields from those that get presented to the user.
I have a vague recollection that Kay or someone else at SNS actually went
through and configured the right groups for the Base record types; if those
changes are still available somewhere they might be suitable to be added to
the new R3.15 series...
- Andrew
Yes, at TRIUMF we have always used Capfast, where other sites have now
mostly migrated to VDCT, or .... We are now using the locally developed
Capfast work-alike TDCT (TRIUMF Database Configuration Tool). In going
through the development and testing process of TDCT, it seems that most,
if not all existing base DBD files seem to have gotten this right. TDCT
does try to follow the rule, which explains how I have encountered the
problem. I guess that also makes the statement about 'no known tools'
now incorrect.
Thanks for clarifying that.
--- rod.
- References:
- Asyn record DBD Rod Nussbaumer
- Re: Asyn record DBD Andrew Johnson
- Navigate by Date:
- Prev:
Re: Asyn record DBD Andrew Johnson
- Next:
Re: epics on FreeBSD: broadcast problem Gerrit Kühn
- 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
- Navigate by Thread:
- Prev:
Re: Asyn record DBD Andrew Johnson
- Next:
Re: Asyn record DBD Rolf Keitel
- 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
|