EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

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

Subject: Re: Power Supply Record?
From: Dirk Zimoch <[email protected]>
To: Luedeke Andreas <[email protected]>
Cc: EPICS Tech Talk <[email protected]>
Date: Thu, 15 Nov 2007 10:24:05 +0100
Luedeke Andreas wrote:

Usability:
you will read back a current and a voltage from the power supply.
Is HOPR/LOPR the display range for the current or the voltage?
Of course you can have an IHOP/ILOP and VHOP/VLOP, but since there is just one function get_graphic_double, no standard display will be able to use those fields context sensitive.
The same applies to ADEL, MDEL, HIGH, HIHI, LOW, LOLO, ....

Actually, get_graphic_double gets a DBADDR* argument which references the field, not the record. Thus, it is possible to provide different values for different fields. But one has to do this. Many existing records already failed to implement this correctly (e.g. calc uses the same HOPR, LOPR, PREC, EGU for fields A,B,C,... as for VAL, motor uses the same PREC for ERES as for VAL, ...)


I agree with Andreas: Better not add another "generic" mega-record which at the end is more restrictive than generic. At least not until real object oriented inheritance is implemented for records.

Dirk

--
Dr. Dirk Zimoch
Paul Scherrer Institut, WBGB/006
5232 Villigen PSI, Switzerland
Phone +41 56 310 5182

Replies:
WIENER crate V . I . Stoica
Re: Power Supply Record? Maren Purves
References:
Power Supply Record? Susanna Jacobson
Re: Power Supply Record? Luedeke Andreas

Navigate by Date:
Prev: Re: Power Supply Record? Luedeke Andreas
Next: WIENER crate V . I . Stoica
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  <20072008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: Power Supply Record? Luedeke Andreas
Next: WIENER crate V . I . Stoica
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  <20072008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 10 Nov 2011 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·