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  <20102011  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  <20102011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: Rogue process variables
From: Ralph Lange <[email protected]>
To: EPICS tech-talk <[email protected]>
Date: Fri, 21 May 2010 09:31:44 -0400
Whooops, cainfo indeed *does* it.

> cainfo fred
fred
   State:         connected
   Host:          nsls2rlange.nsls2.bnl.gov:5064
   Access:        read, write
   Data type:     DBR_DOUBLE (native: DBF_DOUBLE)
   Element count: 1

Note, though, that - depending on the performance of network, client and host machines, and the DNS configuration and status - when Channel Access does the connection callback, the host name may not be available yet.
cainfo waits for the connection callbacks, then calls ca_host_name() to get the host name. If Channel Access returns an empty string, cainfo prints it.


Doing "PV info" from a medm screen does basically the same thing, but pointing the mouse at the widget and doing the right click leaves enough time for CA and DNS to have the host name ready when medm wants it.

See https://bugs.launchpad.net/epics-base/+bug/541342 for an explanation and the fix that was applied to 3.14.10
(Mark, do you still see this on 3.14.10 or later? If so, you probably should reopen the issue.)


Cheers,
Ralph


On Thu 20 May 2010 20:20:26 Mark Rivers wrote:
Whoops, cainfo does not do it.

But make an medm screen with a widget for that PV, and then right click
and select "PV info".

That will give you the name of the IOC machine.

Mark


-----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Mark Rivers Sent: Thursday, May 20, 2010 7:16 PM To: [email protected]; EPICS tech-talk Subject: RE: Rogue process variables

base/bin/linux-x86/cainfo PVName

-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of
[email protected]
Sent: Thursday, May 20, 2010 7:15 PM
To: EPICS tech-talk
Subject: Rogue process variables

Hello all,

I have an IOC running somewhere on the network.
I can see the PV, but cannot find the ioc process.
Is there a way from a terminal to find out on which computer/port PVs are available?


Thanks,


Replies:
RE: Rogue process variables Mark Rivers
References:
Rogue process variables emmanuel_mayssat
RE: Rogue process variables Mark Rivers
RE: Rogue process variables Mark Rivers

Navigate by Date:
Prev: RE: Race conditions in SNL programs Mark Rivers
Next: RE: Rogue process variables Mark Rivers
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  <20102011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: RE: Rogue process variables Mark Rivers
Next: RE: Rogue process variables Mark Rivers
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  <20102011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 02 Sep 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·