Hi,
When defining a PV name longer than 32 characters in $FORCEPV statement in the alarm configuration file, the PV name actually gets truncated (alh 1.2.26 version). After digging a little bit in the alh code, I noticed that in alConfig.c line 494:
rtn = sscanf(buf,"%20s%32s%6s%lf%9s",command,name,mask,&dbl,string);
the PV name (name variable) is limited to 32 characters. I think it should be either %s or limited to 64 characters.
Regards,
Juan Carlos.
----------
Juan Carlos Guzman
Software Engineer
Australia Telescope National Facility
CSIRO Astronomy and Space Science
P.O.Box 76, Epping NSW 1710, Australia
Phone: +61 2 9372 4457
Fax: +61 2 9372 4310
Email: [email protected]
- Replies:
- Re: Bug on alh (alarm handler) 1.2.26 alConfig.c file Andrew Johnson
- Navigate by Date:
- Prev:
problem using asyn 4-15 with VxWorks and UDP sockets to connect with CryoCon24 temperature monitor Jay Steele
- Next:
Re: Record Alarm/ AsynPortDriver reem ateia
- 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:
problem using asyn 4-15 with VxWorks and UDP sockets to connect with CryoCon24 temperature monitor Jay Steele
- Next:
Re: Bug on alh (alarm handler) 1.2.26 alConfig.c file Andrew Johnson
- 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
|