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  <20142015  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  <20142015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: calc out record to verify pv not connected
From: Paul Sichta <[email protected]>
To: "Goff, Steven J" <[email protected]>
Cc: "[email protected]" <[email protected]>
Date: Mon, 9 Jun 2014 15:54:15 -0400
I think the calculation will not process because one of the INP is INVALID (not connected).  Maybe change the INP link fields to use NMS?

-ps



On Mon, Jun 9, 2014 at 3:46 PM, Goff, Steven J <[email protected]> wrote:

I’m using a calcout record that uses a remote PV (from another IOC) as part of its calculation. I’m also using the INAV filed to test the link status of the remote PV. But I’m having problems getting it to work. While troubleshooting, I narrowed my calculation to be nothing more than to tell me what the connection status is. Here’ what I have:

 

Record(calcout, “REMOTETEST”)

{

                Field(SCAN, “1 second”)

                Field(INPA, “MY_REMOTE_PV”)

                Field(INPB, “REMOTETEST.INAV”)

                Field(CALC, “B”)

}

 

My understanding is that INAV returns an enumeration where 0 = not connected, 1 = connected, 2 = local PV and 3 = constant.

So when I start my IOC, REMOTETEST = 0 as expected. When I start my remote IOC, REMOTETEST = 1 as expected. When I terminate the remote IOC, REMOTETEST = 1. Shouldn’t it go back to 0? Especially since when I run “camonitor REMOTETEST.INAV” it toggles from 0 to 1 to 0 again. It looks like the “B” value never gets updated in the calculation once the remote connection is gone. Any ideas?

 



References:
calc out record to verify pv not connected Goff, Steven J

Navigate by Date:
Prev: RE: Calculate time for which the b1 record remains 1 or 0 Mooney, Tim M.
Next: RE: calc out record to verify pv not connected Mooney, Tim M.
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  <20142015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: calc out record to verify pv not connected Goff, Steven J
Next: RE: calc out record to verify pv not connected Mooney, Tim M.
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  <20142015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 17 Dec 2015 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·