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: question about the promptgroup meaning in DBD file
From: Rolf Keitel <[email protected]>
To: [email protected]
Date: Tue, 20 Dec 2011 10:32:53 -0800
Hello Abadie,

The dbd file syntax is described in the Application Developer's Guide. For the last couple of 3-14 releases the descriptions differ slightly:

For release 3-14/11 the relevant chapter is 6.
=======================================

http://www.aps.anl.gov/epics/base/R3-14/11-docs/AppDevGuide.pdf

You find the promptgroup explained in 6.5.2:
• promptgroup - Prompt group to which field belongs. This is for use by Database Configuration Tools. This is
defined only for fields that can be given values by database configuration tools. File guigroup.h contains all
possible definitions. The different groups allow database configuration tools to present the user with groups of
fields rather than all prompt fields. I don’t know of any tool that currently uses groups.

and in 6.5.3 the guide says:

NOTE: GUI types were invented with the intention of allowing database configuration tools to prompt for
groups of fields and when a user selects a group the fields within the group. Since this feature has seldom
been used, many record types have not assigned the correct GUI groups to some fields.


For release R3-14/12 the relevant chapter is also 6.
============================================

http://www.aps.anl.gov/epics/base/R3-14/12-docs/AppDevGuide.pdf

You find the promptgroup explained in 6.7.2:

promptgroup The group to which the field belongs, for database configuration tools.

and in 6.7.3 the guide says:

This information is for use by Database Configuration Tools. This is defined only for fields that can be
given values by database configuration tools. File guigroup.h contains all possible definitions. This
allows database configuration tools to group fields together by functionality, not just order them by name.
This feature has seldom been used, so many record types do not have appropriate values assigned to some
fields.


The tdct database configuration tool which we use, does not use the values of the promptgroup (the gui_group values), but uses the fact that a promptgroup is defined for a field to determine if tdct can allow the user to modify the field value.

I don't know vdct very well, but I believe there the promptgroup values may be used to group properties.


- rolf -


On 12/20/2011 8:06 AM, Abadie Lana wrote:

Hi all

I would like to understand one thing. I looked at the EPICS dbd file of bi record and i found these

   field(ZSV,DBF_MENU) {

                prompt("Zero Error Severity")

                promptgroup(GUI_ALARMS)

                pp(TRUE)

                interest(1)

                menu(menuAlarmSevr)

        }

        field(OSV,DBF_MENU) {

                prompt("One Error Severity")

                promptgroup(GUI_BITS1)

                pp(TRUE)

                interest(1)

                menu(menuAlarmSevr)

        }

        field(COSV,DBF_MENU) {

                prompt("Change of State Svr")

                promptgroup(GUI_BITS2)

                pp(TRUE)

                interest(1)

                menu(menuAlarmSevr)

        }

        field(ZNAM,DBF_STRING) {

                prompt("Zero Name")

                promptgroup(GUI_CALC)

                pp(TRUE)

                interest(1)

                size(26)

        }

        field(ONAM,DBF_STRING) {

                prompt("One Name")

                promptgroup(GUI_CLOCK)

                pp(TRUE)

                interest(1)

                size(26)

        }

 

So my question is why OSV and COSV are not part of GUI_ALARM and why ZNAM and ONAM are not in the same promptgroup, why one is in GUI_CALC, and the other one in GUI_CLOCK

 

 

Note that the mbbi/mbbo record types have for XXVL adn XXST promptgroup set GUI_BITS. Also XXSV are in GUI_BITS and not GUI_ALARM

 

Thanks for clarification, the reason is wanted to group the different fields: the promptgroup was a good start but sometimes quite hard to follow.

Lana



-- 
+-------------------------------------------------------+
| Rolf Keitel, Ph.D.                Tel: (604) 222-7453 |
| TRIUMF                                                |
| Vancouver, B.C., Canada                               |
+-------------------------------------------------------+


References:
[Eclipse] EPICS IDE plugin Pavel Masloff
Re: [Eclipse] EPICS IDE plugin Andrew Johnson
Re: [Eclipse] EPICS IDE plugin Pavel Masloff
question about the promptgroup meaning in DBD file Abadie Lana

Navigate by Date:
Prev: Re: EDM/X-Windows/Windows 7 behavior Rolf Keitel
Next: Re: [Eclipse] EPICS IDE plugin Pavel Masloff
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: question about the promptgroup meaning in DBD file Abadie Lana
Next: Re: question about the promptgroup meaning in DBD file Andrew Johnson
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 ·