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  2022  <20232024  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  <20232024 
<== Date ==> <== Thread ==>

Subject: Trouble with pva:// on Phoebus with often-restarted IOCs
From: "Leblanc, Gregory via Tech-talk" <tech-talk at aps.anl.gov>
To: "tech-talk at aps.anl.gov" <tech-talk at aps.anl.gov>
Date: Mon, 21 Aug 2023 14:26:22 +0000
Hi folks,

I'm working on developing an HMI here at the same time that I'm developing the .db files.   I'm using the Phoebus nightly builds on a windows machine, and epics-base checked out from github, compiled on CentOS 9 Stream.  I'm also trying to use pva:// for all the PVs in Phoebus .  My typical workflow is to add a new record to the .db file, stop the IOC, make distclean, make, and restart with st.cmd.  Next, I'll add a new widget to the Phoebus interface.  The first time I launch the Phoebus display for the day, everything seems to work OK.  On all subsequent times, the PVs show up in a disconnected state.  If I switch to ca://, I don't see this issue.  I think this is somehow related to the dynamically assigned TCP port numbers, but I'm unclear on what changes between the first launch and all subsequent launches.  In my IOC output, I see:

First launch:
2023-08-21T09:13:00.122 Using dynamically assigned TCP port 38547.

Next launch:
2023-08-21T09:13:46.475 Using dynamically assigned TCP port 34715.

And in the Error Log on Phoebus:
2023-08-21 10:21:46 WARNING [org.epics.pva] Cannot connect to TCP /10.0.0.241:34715

I have confirmed that indeed I cannot telnet to the second port number listed when things aren't working, although I haven't tried the telnet test when things ARE working, but I'll try to do that today.  I've opened ports 5076/udp, 5075/tcp, 5064 and 5065 both tcp and udp.  Any thoughts on where to go next?
     Greg

--
Gregory Leblanc
Accelerator Engineer
Edwards Accelerator Lab - Ohio University
123 University Terrace
Athens, OH 45701 USA
leblanc at ohio.edu
M: (401) 52-OUAL1 or (401) 526-8251


Replies:
RE: [External] Trouble with pva:// on Phoebus with often-restarted IOCs Leblanc, Gregory via Tech-talk

Navigate by Date:
Prev: Re: Problem writing enum entries from asyn driver (areaDetector) ino a databse record. Mark Rivers via Tech-talk
Next: RE: [External] Trouble with pva:// on Phoebus with often-restarted IOCs Leblanc, Gregory 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  <20232024 
Navigate by Thread:
Prev: Re: Can we set 'NELM' tobe a variable in waveform or subArray? Mark Rivers via Tech-talk
Next: RE: [External] Trouble with pva:// on Phoebus with often-restarted IOCs Leblanc, Gregory 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  <20232024 
ANJ, 21 Aug 2023 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·