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 | 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 |
<== Date ==> | <== Thread ==> |
---|
Subject: | RE: CSS BOY enum local PV |
From: | "Gregory, Ray" <[email protected]> |
To: | "[email protected]" <[email protected]> |
Date: | Thu, 26 Apr 2018 17:58:53 +0000 |
Thank you, Kay. Can you tell me how to modify the enum labels from a script after I have defined the local enum PV as you describe? --Ray From: Kasemir, Kay > 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.
|