Hi Tech-Talk,
I'm playing a bit with the NTEnum
(https://docs.epics-controls.org/en/latest/specs/Normative-Types-Specification.html#ntenum),
and I'm wondering if would be possible to use a string as the input so I
would get its index.
Something like:
pvput PVEnum "ABC"
pvget PVEnum
return : 5
I'm using this db as a start point:
https://github.com/epics-base/pva2pva/blob/master/iocBoot/iocimagedemo/ntenum.db
Thanks in advance
Cheers
--
Gabriel Fedel
Embedded Software Developer / Integrated Control System Division
European Spallation Source ERIC
P.O. Box 176, SE-221 00 Lund, Sweden
Visiting address: Partikelgatan 2, 224 84 Lund
E-mail: gabriel.fedel at ess.eu
ess.eu
- Replies:
- Re: NTEnum Michael Davidsaver via Tech-talk
- Navigate by Date:
- Prev:
update to Phytron motor support Lutz Rossa via Tech-talk
- Next:
Need help with Phoebus Alarm E-logger and Interface to the E-mail Charles Jenkins via Tech-talk
- 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
- Navigate by Thread:
- Prev:
Re: update to Phytron motor support Kevin Peterson via Tech-talk
- Next:
Re: NTEnum Michael Davidsaver via Tech-talk
- 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
|