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  2011  2012  2013  2014  2015  2016  2017  <20182019  2020  2021  2022  2023  2024  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  <20182019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: CSS BOY enum local PV
From: "Kasemir, Kay" <[email protected]>
To: "Gregory, Ray" <[email protected]>, "[email protected]" <[email protected]>
Date: Thu, 26 Apr 2018 17:40:03 +0000

> Is it possible to create a local enum PV in CSS that can be used as the PV for a Combo widget that also gets its items from the PV?

Yes:

    

      loc://demo<VEnum>(2, "A", "B", "C", "D")

 

You have to provide the data type <VEnum> to get an enum.

The initializer needs to contain the initial index value, followed by the enum labels.



-Kay

Replies:
RE: CSS BOY enum local PV Gregory, Ray
References:
CSS BOY enum local PV Gregory, Ray

Navigate by Date:
Prev: CSS BOY enum local PV Gregory, Ray
Next: RE: CSS BOY enum local PV Gregory, Ray
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  <20182019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: CSS BOY enum local PV Gregory, Ray
Next: RE: CSS BOY enum local PV Gregory, Ray
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  <20182019  2020  2021  2022  2023  2024 
ANJ, 26 Apr 2018 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·