Experimental Physics and Industrial Control System
|
Hello,
When I work with PyEpics.PV object, I've found sometimes the value of 'char_value' in the added callback just return what 'value' meant to be. I tried with a MBBI type record, it should be expected as a string in the callback, but an integer was got. Could
somebody let me know what is the possible reason?
An mbbi record definitely should return the appropriate string in 'char_value' in a callback. That does need to be able to lookup the CTRL values, especially including the enumeration strings.
Can you do mypv = epics.PV(pvname) print(mypv.get(as_string=True)) print(mypv.get_info())
and see the enumeration strings?
Matt
- Replies:
- Re: Issue of PV callback of PyEpics Tong Zhang via Tech-talk
- References:
- Issue of PV callback of PyEpics Zhang, Tong via Tech-talk
- Navigate by Date:
- Prev:
Issue of PV callback of PyEpics Zhang, Tong via Tech-talk
- Next:
EPICS support with Turbo UMAC fengwentian--- 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:
Issue of PV callback of PyEpics Zhang, Tong via Tech-talk
- Next:
Re: Issue of PV callback of PyEpics Tong Zhang 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
|
ANJ, 19 Feb 2019 |
·
Home
·
News
·
About
·
Base
·
Modules
·
Extensions
·
Distributions
·
Download
·
·
Search
·
EPICS V4
·
IRMIS
·
Talk
·
Bugs
·
Documents
·
Links
·
Licensing
·
|