On 23.02.2012 17:10, Chris Slominski wrote:
> I was thinking of a local solution for one process on one host, but I
> will consider your global solution. I'm not sure I want every client
> restarting their searches for disconnected channels.
>
> Thanks.
Start the wake-up IOC (using e.g. "echo iocInit | softIoc") on the same
host as your client, with EPICS_CA_ADDR_LIST=127.0.0.1 and
EPICS_CA_AUTO_ADDR_LIST=NO, and you have a one-host solution.
~Ralph
> Ralph Lange wrote:
>> Chris,
>>
>> You need a beacon anomaly that your clients can see, so they rebroadcast
>> their unresolved names.
>>
>> Quick-and-dirty solution:
>> The easiest way to create a beacon anomaly is to start up an IOC. Create
>> an empty soft IOC on a machine on the clients' network (the softIoc
>> executable from base is fine). Set up a cron job that starts the IOC,
>> waits a second, then kills it.
>> Whenever that cron job runs, all clients on the local network will try
>> to resolve their channels.
>>
>> ~Ralph
>>
>>
>> On 23.02.2012 14:18, Chris Slominski wrote:
>>
>>> I want to be able to force my EPICS channel access client to begin a
>>> new search for currently disconnected channels.We have small short
>>> term pc104 iocs come and go and sometimes they are not configured
>>> correctly to broadcast when they have been booted up. A client
>>> listening to the channels won't see a beacon anomaly and begin the
>>> channel search sequence.
>>>
>>> I can see a couple of ways to do this.
>>>
>>> - Send a network beacon to the CA Repeater.
>>> - Issue a search for some non-existent channel.
>>>
>>> Please advise on what is a good way to do this. Example code or
>>> references to EPICS source code are very welcome, as I am neither
>>> familiar with EPICS base software, nor am I an experienced network
>>> programmer. My client software uses EPICS 3.13.10.
>>>
>>> Chris
>>>
>
- References:
- Search for disconnected channels Chris Slominski
- Re: Search for disconnected channels Ralph Lange
- Re: Search for disconnected channels Chris Slominski
- Navigate by Date:
- Prev:
Re: Search for disconnected channels Chris Slominski
- Next:
QT-based tools: Expressions of interest requested Mezger Anton-Chr.
- 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
- Navigate by Thread:
- Prev:
Re: Search for disconnected channels Ernest L. Williams Jr.
- Next:
Re: Issues for pvAssing() in seq Benjamin Franksen
- 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
|