Experimental Physics and Industrial Control System
Hi,
Yesterday, I checked UDP broadcast messages on the control network.
Analyzing the packet data, I found some programs were searching for the
channel with the name " " (space character). One of source of
these packet was a process running medm2.4.10 on HP-UX workstation.
In the source code of medm, I found the following code segment
in medm/medm/medmCA.c file.
==================================================================
if (strlen(name) > (size_t)0) {
status = ca_build_and_connect(name,TYPENOTCONN,0,
&(pCh->chid),NULL,medmConnectEventCb,pCh);
} else {
status = ca_build_and_connect(" ",TYPENOTCONN,0,
&(pCh->chid),NULL,medmConnectEventCb,pCh);
}
==================================================================
This code segment is a part of the body of "int caAdd(char *name, Record
*pr)" function. I checked several versions of medm (2.3.x, 2.4.x, and
dm2k), and found same code segment in all of them.
If you don't have the channel which has " " as its name , medm
keeps sending CA search while it running.
Easiest workaround is to prepare the channel whose name is " ".
(CA Library and dbLoadXXX accepts it.)
Thanks for listening.
Noboru
- Navigate by Date:
- Prev:
Re: replacing the default CA exception handler Marty Kraimer
- Next:
Re: empty channel field in medm/dm2k Ken Evans
- 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: replacing the default CA exception handler Marty Kraimer
- Next:
Re: empty channel field in medm/dm2k Ken Evans
- 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