Experimental Physics and Industrial Control System
|
Hi Matt,
I think the following issue I encountered may have something to do with
pyepics, which after discussing with Daron, still cannot be resolved yet.
I'm trying to create pv callbacks onto my high-level GUI application
with pyepics, but the app crashed because of the error regarding the CA
context, please see the attached screenshot. And the strange thing is
this only happened to Python 3.5, not Python 3.6 and Python 3.7.
To my understanding, the GUI case is slightly different than python
thread, the main thread is for UI rendering, all my created callback are
spawned from this main thread, I can do other CA action (put/get)
without any problem, so where is the default CA context in the GUI case?
I've checked this link
https://github.com/pyepics/pyepics/issues/68#issuecomment-290892241 and
the guideline for python thread with pyepics, but still not sure how can
I make use of the context.
Appreciate for any reply,
Tong
Attachment:
Selection_163.png
Description: PNG image
- Replies:
- Re: Callback error from pyepics and python with GUI development Matt Newville via Tech-talk
- Navigate by Date:
- Prev:
Somebody using PROFINET? Penning, Joerg via Tech-talk
- Next:
Re: Re: Stream device character parse 吴煊 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: Somebody using PROFINET? laurent daudin via Tech-talk
- Next:
Re: Callback error from pyepics and python with GUI development Matt Newville 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, 12 Apr 2019 |
·
Home
·
News
·
About
·
Base
·
Modules
·
Extensions
·
Distributions
·
Download
·
·
Search
·
EPICS V4
·
IRMIS
·
Talk
·
Bugs
·
Documents
·
Links
·
Licensing
·
|