EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

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  <20222023  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  <20222023  2024 
<== Date ==> <== Thread ==>

Subject: RE: warnings.warn from raspberry pyepics
From: LE-DANIEL Erwann via Tech-talk <tech-talk at aps.anl.gov>
To: Mark Rivers <rivers at cars.uchicago.edu>, Matthew Newville <newville at cars.uchicago.edu>
Cc: "tech-talk-request at aps.anl.gov" <tech-talk-request at aps.anl.gov>, "tech-talk at aps.anl.gov" <tech-talk at aps.anl.gov>
Date: Mon, 19 Sep 2022 16:11:19 +0000

Other point,

When I start the script, this message occure :

 

The executable “caRepeater” couldn’t be located

Because of errno = “No such file or directory”

You may need to modify your PATH environment variable

Unable to start “CA Repeater” process

 

Is this message linked to the other ??

 

Cordialement,

LE DANIEL Erwann.

 

De : Tech-talk <tech-talk-bounces at aps.anl.gov> De la part de LE-DANIEL Erwann via Tech-talk
Envoyé : lundi 19 septembre 2022 17:58
À : Mark Rivers <rivers at cars.uchicago.edu>; Matthew Newville <newville at cars.uchicago.edu>
Cc : tech-talk-request at aps.anl.gov; tech-talk at aps.anl.gov
Objet : RE: warnings.warn from raspberry pyepics

 

CAUTION: This email was sent from outside Alstom. Be vigilant if you want to click on links or open attachments.

True, It works and return values from network during few seconds and after the loop speed decrease and the error message occures.

 

Cordialement,

LE DANIEL Erwann.

 

De : Mark Rivers <rivers at cars.uchicago.edu>
Envoyé : lundi 19 septembre 2022 17:53
À : Matthew Newville <newville at cars.uchicago.edu>
Cc : LE-DANIEL Erwann <erwann.le-daniel at alstomgroup.com>; tech-talk-request at aps.anl.gov; tech-talk at aps.anl.gov
Objet : Re: warnings.warn from raspberry pyepics

 

Vous ne recevez pas souvent de courriers de la part de rivers at cars.uchicago.edu. Découvrez pourquoi cela est important

CAUTION: This email was sent from outside Alstom. Be vigilant if you want to click on links or open attachments.

If I understood his last message correctly it works OK printing values for 10 seconds, and then it fails.  So it does find the PV.

Sent from my iPhone

 

On Sep 19, 2022, at 10:46 AM, Matt Newville via Tech-talk <tech-talk at aps.anl.gov> wrote:



Hi Le Daniel, 

 

I would guess that the PV is actually not being found on the network.  Is EPICS_CA_ADDR_LIST set so that the IOC or CA server providing that PV can be found?

 

 

On Mon, Sep 19, 2022 at 7:18 AM LE-DANIEL Erwann via Tech-talk <tech-talk at aps.anl.gov> wrote:

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.


 

--Matt Newville 

In case of strong suspicion of phishing, report the email through the reporting tool on your Outlook toolbar or send it as an attachment to spam at alstomgroup.com

 


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.

In case of strong suspicion of phishing, report the email through the reporting tool on your Outlook toolbar or send it as an attachment to spam at alstomgroup.com



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.

Replies:
Re: warnings.warn from raspberry pyepics Mark Rivers via Tech-talk
References:
warnings.warn from raspberry pyepics LE-DANIEL Erwann via Tech-talk
Re: warnings.warn from raspberry pyepics Matt Newville via Tech-talk
Re: warnings.warn from raspberry pyepics Mark Rivers via Tech-talk
RE: warnings.warn from raspberry pyepics LE-DANIEL Erwann via Tech-talk

Navigate by Date:
Prev: RE: warnings.warn from raspberry pyepics LE-DANIEL Erwann via Tech-talk
Next: Re: warnings.warn from raspberry pyepics Mark Rivers 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  <20222023  2024 
Navigate by Thread:
Prev: RE: warnings.warn from raspberry pyepics LE-DANIEL Erwann via Tech-talk
Next: Re: warnings.warn from raspberry pyepics Mark Rivers 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  <20222023  2024 
ANJ, 19 Sep 2022 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·