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: | warnings.warn from raspberry pyepics |
From: | LE-DANIEL Erwann via Tech-talk <tech-talk at aps.anl.gov> |
To: | "tech-talk at aps.anl.gov" <tech-talk at aps.anl.gov>, "tech-talk-request at aps.anl.gov" <tech-talk-request at aps.anl.gov> |
Date: | Mon, 19 Sep 2022 12:18:22 +0000 |
Hello, I’m using a raspberry to get epics variable value from that code : import epics import time while True: p=epics.PV(‘TL_AN_Input’) val = p.get() print (val) time.sleep(0.1) This code runs about 10 seconds and after it returns the error message : /home/pi/.local/lib/python3.9/site-packages/epics/ca.py:1528: UserWarning: ca.get(‘TL_AN_Input…’) timed out after 1.00 seconds. Warnings.warn(msg % (name(chid), timeout)) What does it mean ? Is it because I need to clean the PV_cache ?
è if it is the case how can I do that ? Thank you very much. Cordialement, LE DANIEL Erwann. CONFIDENTIALITY : This e-mail and any attachments are confidential and may be privileged. If you are not a named recipient, please notify the sender immediately and do not disclose the contents to another person, use it for any purpose or store or copy the information in any medium. |