EPICS Home

Experimental Physics and Industrial Control System


 
1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  <20062007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  2025  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  <20062007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  2025 
<== Date ==> <== Thread ==>

Subject: Re: Enum labels via JCA?
From: Christopher Larrieu <[email protected]>
To: Christopher Larrieu <[email protected]>, "[email protected]" <[email protected]>
Date: Wed, 01 Nov 2006 17:14:21 -0800
My silly mistake.  I'd overlooked that you have to call pendIO in the java
API just as in C.

This works:

    DBR_LABELS_Enum labels = (DBR_LABELS_Enum)channel.get (
        DBRType.LABELS_ENUM, 1);
    m_ctxt.pendIO (PENDIO_TIMEOUT);
    String[] enumerationLabels = labels.getLabels();

Chris



On 11/1/06 3:14 PM, "Christopher Larrieu" <[email protected]>
wrote:

> Anyone have an example of how to fetch the enumeration labels for a channel
> in JCA?
> 
> Thanks,
> 
> Chris
> 


References:
Enum labels via JCA? Christopher Larrieu

Navigate by Date:
Prev: Enum labels via JCA? Christopher Larrieu
Next: Multihomed IOC Emmanuel Mayssat
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  <20062007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  2025 
Navigate by Thread:
Prev: Enum labels via JCA? Christopher Larrieu
Next: Multihomed IOC Emmanuel Mayssat
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  <20062007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  2025